1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-17 17:02:08 +03:00

Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius

This commit is contained in:
Bruce Momjian
1997-07-24 20:19:10 +00:00
parent 8447148aad
commit 3ac9d2fff3
21 changed files with 51 additions and 71 deletions

View File

@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.18 1997/02/14 04:15:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.19 1997/07/24 20:13:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -447,7 +447,7 @@ ParseAgg(char *aggname, Oid basetype, Node *target)
vartype = ((Expr*)target)->typeOid;
if (basetype != vartype) {
Type tp1, tp2, get_id_type();
Type tp1, tp2;
tp1 = get_id_type(basetype);
tp2 = get_id_type(vartype);