diff options
author | Michael Meskes <meskes@postgresql.org> | 2009-05-20 16:49:23 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2009-05-20 16:49:23 +0000 |
commit | 14f29f640a4338650a19f68d9f426d0734353147 (patch) | |
tree | 95ef0fff634a26c2365b8e4fa9b4bac15711172a /src/interfaces/ecpg/compatlib/informix.c | |
parent | 11a497f99a14711d81bf0f19fe230d2287997194 (diff) | |
download | postgresql-14f29f640a4338650a19f68d9f426d0734353147.tar.gz postgresql-14f29f640a4338650a19f68d9f426d0734353147.zip |
Removed unsigned/signed mismatches.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r-- | src/interfaces/ecpg/compatlib/informix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c index f58802ef361..9940c4195b9 100644 --- a/src/interfaces/ecpg/compatlib/informix.c +++ b/src/interfaces/ecpg/compatlib/informix.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/informix.c,v 1.57 2009/01/15 11:52:54 petere Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/informix.c,v 1.58 2009/05/20 16:49:23 meskes Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -151,7 +151,7 @@ static char * ecpg_strndup(const char *str, size_t len) { int real_len = strlen(str); - int use_len = (real_len > len) ? len : real_len; + int use_len = (real_len > len) ? (int)len : real_len; char *new = malloc(use_len + 1); |