Commit:    2c0f09540e18371387eb291906f19b8b94e1ca5a
Author:    Matteo Beccati <mbecc...@php.net>         Fri, 7 Jun 2013 09:38:58 
+0200
Parents:   a649f42b20b60bbac545f79e2112c99b663897d1
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=2c0f09540e18371387eb291906f19b8b94e1ca5a

Log:
Fixed signedness warning

Changed paths:
  M  ext/pdo_pgsql/pgsql_driver.c


Diff:
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c
index 03cc5a0..80abb4b 100644
--- a/ext/pdo_pgsql/pgsql_driver.c
+++ b/ext/pdo_pgsql/pgsql_driver.c
@@ -320,7 +320,7 @@ static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char 
*unquoted, int unquote
                case PDO_PARAM_LOB:
                        /* escapedlen returned by PQescapeBytea() accounts for 
trailing 0 */
 #ifdef HAVE_PQESCAPE_BYTEA_CONN
-                       escaped = PQescapeByteaConn(H->server, unquoted, 
unquotedlen, &tmp_len);
+                       escaped = PQescapeByteaConn(H->server, (unsigned char 
*)unquoted, unquotedlen, &tmp_len);
 #else
                        escaped = PQescapeBytea(unquoted, unquotedlen, 
&tmp_len);
 #endif


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to