Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2005-09-24 17:53:28 +0000
committerTom Lane2005-09-24 17:53:28 +0000
commit8889685555e0ae7d5396038be9924ced2d330bd3 (patch)
tree6dc4bc817e1abfcaaa048c603e7514f456f039f2 /src/backend/tcop/fastpath.c
parent54a8af058e73b452278031b4959bd2fe9be0ba0c (diff)
Suppress signed-vs-unsigned-char warnings.
Diffstat (limited to 'src/backend/tcop/fastpath.c')
-rw-r--r--src/backend/tcop/fastpath.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c
index a870f2c9c88..fa105c560e0 100644
--- a/src/backend/tcop/fastpath.c
+++ b/src/backend/tcop/fastpath.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/tcop/fastpath.c,v 1.81 2005/07/10 21:13:58 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/fastpath.c,v 1.82 2005/09/24 17:53:15 tgl Exp $
*
* NOTES
* This cruft is the server side of PQfn.
@@ -473,9 +473,7 @@ parse_fcall_arguments(StringInfo msgBuf, struct fp_info * fip,
* have to do encoding conversion before calling the typinput
* routine, though.
*/
- pstring = (char *)
- pg_client_to_server((unsigned char *) abuf.data,
- argsize);
+ pstring = pg_client_to_server(abuf.data, argsize);
fcinfo->arg[i] =
OidFunctionCall3(typinput,
CStringGetDatum(pstring),