Commit 685523c4 authored by Michael Meskes's avatar Michael Meskes

Applied Magnus Hagander's patch to take away some compiler warnings.

parent fc8115d4
...@@ -2164,5 +2164,6 @@ Th 25. Jan 17:17:01 CET 2007 ...@@ -2164,5 +2164,6 @@ Th 25. Jan 17:17:01 CET 2007
Fr 2. Feb 09:53:48 CET 2007 Fr 2. Feb 09:53:48 CET 2007
- Cleaned up va_list handling. Hopefully this now works on all archs. - Cleaned up va_list handling. Hopefully this now works on all archs.
- Applied Magnus Hagander's patch to take away some compiler warnings.
- Set ecpg library version to 5.3. - Set ecpg library version to 5.3.
- Set ecpg version to 4.3.1. - Set ecpg version to 4.3.1.
/* $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 #define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h" #include "postgres_fe.h"
...@@ -96,6 +96,6 @@ ECPGDynamicType(Oid type) ...@@ -96,6 +96,6 @@ ECPGDynamicType(Oid type)
case NUMERICOID: case NUMERICOID:
return SQL3_NUMERIC; /* numeric */ return SQL3_NUMERIC; /* numeric */
default: default:
return -type; return -(int)type;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment