diff options
author | Matteo Beccati <mbeccati@php.net> | 2013-06-07 09:38:58 +0200 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2013-06-07 09:38:58 +0200 |
commit | 2c0f09540e18371387eb291906f19b8b94e1ca5a (patch) | |
tree | b9d7ea3e1bf623a730b41ddb8b3df42abfbb32ee | |
parent | a649f42b20b60bbac545f79e2112c99b663897d1 (diff) | |
download | php-git-2c0f09540e18371387eb291906f19b8b94e1ca5a.tar.gz |
Fixed signedness warning
-rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index 03cc5a0f99..80abb4b7c8 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 |