mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Applied Magnus Hagander's patch to take away some compiler warnings.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/typename.c,v 1.11 2007/01/25 16:45:25 meskes Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/typename.c,v 1.12 2007/02/02 09:31:10 meskes Exp $ */
|
||||
|
||||
#define POSTGRES_ECPG_INTERNAL
|
||||
#include "postgres_fe.h"
|
||||
@@ -96,6 +96,6 @@ ECPGDynamicType(Oid type)
|
||||
case NUMERICOID:
|
||||
return SQL3_NUMERIC; /* numeric */
|
||||
default:
|
||||
return -type;
|
||||
return -(int)type;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user