diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-24 17:53:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-24 17:53:28 +0000 |
commit | 8889685555e0ae7d5396038be9924ced2d330bd3 (patch) | |
tree | 6dc4bc817e1abfcaaa048c603e7514f456f039f2 /src/interfaces/libpq/fe-misc.c | |
parent | 54a8af058e73b452278031b4959bd2fe9be0ba0c (diff) | |
download | postgresql-8889685555e0ae7d5396038be9924ced2d330bd3.tar.gz postgresql-8889685555e0ae7d5396038be9924ced2d330bd3.zip |
Suppress signed-vs-unsigned-char warnings.
Diffstat (limited to 'src/interfaces/libpq/fe-misc.c')
-rw-r--r-- | src/interfaces/libpq/fe-misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index b31c3a9613d..6028c865487 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -23,7 +23,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.119 2005/08/23 21:02:03 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.120 2005/09/24 17:53:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1092,7 +1092,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time) * specified encoding. */ int -PQmblen(const unsigned char *s, int encoding) +PQmblen(const char *s, int encoding) { return (pg_encoding_mblen(encoding, s)); } @@ -1102,7 +1102,7 @@ PQmblen(const unsigned char *s, int encoding) * specified encoding. */ int -PQdsplen(const unsigned char *s, int encoding) +PQdsplen(const char *s, int encoding) { return (pg_encoding_dsplen(encoding, s)); } |