diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 02:36:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 02:36:41 +0000 |
commit | 341b328b180e65d1fa5c8f2235cf101c8a12824f (patch) | |
tree | 88d54198ffa15aea581251471f8c062ae9e3142e /src/backend/parser/parse_agg.c | |
parent | bc1f117094fbe2921f37923d8f7528284cb26dfc (diff) | |
download | postgresql-341b328b180e65d1fa5c8f2235cf101c8a12824f.tar.gz postgresql-341b328b180e65d1fa5c8f2235cf101c8a12824f.zip |
Fix a bunch of minor portability problems and maybe-bugs revealed by
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing. Tedious, but perhaps useful...
Diffstat (limited to 'src/backend/parser/parse_agg.c')
-rw-r--r-- | src/backend/parser/parse_agg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/parse_agg.c b/src/backend/parser/parse_agg.c index 17cc026bfde..8a37485bbd6 100644 --- a/src/backend/parser/parse_agg.c +++ b/src/backend/parser/parse_agg.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.35 2000/03/14 23:06:32 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.36 2000/03/17 02:36:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -104,7 +104,7 @@ check_ungrouped_columns_walker(Node *node, return false; /* outer-level Var is acceptable */ /* Found an ungrouped local variable; generate error message */ Assert(var->varno > 0 && - var->varno <= length(context->pstate->p_rtable)); + (int) var->varno <= length(context->pstate->p_rtable)); rte = rt_fetch(var->varno, context->pstate->p_rtable); attname = get_attname(rte->relid, var->varattno); if (! attname) |