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/backend/tcop/postgres.c | |
parent | 54a8af058e73b452278031b4959bd2fe9be0ba0c (diff) | |
download | postgresql-8889685555e0ae7d5396038be9924ced2d330bd3.tar.gz postgresql-8889685555e0ae7d5396038be9924ced2d330bd3.zip |
Suppress signed-vs-unsigned-char warnings.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 22f47a9d6ba..9e9f11f2cb7 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.461 2005/09/22 15:33:36 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.462 2005/09/24 17:53:15 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1548,9 +1548,7 @@ exec_bind_message(StringInfo input_message) * We have to do encoding conversion before * calling the typinput routine. */ - pstring = (char *) - pg_client_to_server((unsigned char *) pbuf.data, - plength); + pstring = pg_client_to_server(pbuf.data, plength); params[i].value = OidFunctionCall3(typinput, CStringGetDatum(pstring), |