diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-11-29 18:17:46 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-11-29 18:17:46 +0000 |
commit | d79e01e2112a06f5e4070c61a13d3ee693bfd553 (patch) | |
tree | 6b7bd8cd276d165892c43859c87d4fad9b95842a /ext/pdo_pgsql/pgsql_driver.c | |
parent | 37661c8b39d0a705b951bc0c3254514d4f04a23e (diff) | |
download | php-git-d79e01e2112a06f5e4070c61a13d3ee693bfd553.tar.gz |
Fixed compiler warnings
Diffstat (limited to 'ext/pdo_pgsql/pgsql_driver.c')
-rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index b339a43837..65fb948675 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -210,11 +210,9 @@ static int pgsql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_pgsql_stmt *S = ecalloc(1, sizeof(pdo_pgsql_stmt)); int scrollable; #if HAVE_PQPREPARE - PGresult *res; int ret; char *nsql = NULL; int nsql_len = 0; - ExecStatusType status; #endif S->H = H; @@ -490,7 +488,7 @@ static PHP_METHOD(PDO, pgsqlLOBCreate) if (lfd != InvalidOid) { char *buf; - spprintf(&buf, 0, "%lu", lfd); + spprintf(&buf, 0, "%lu", (long) lfd); RETURN_STRING(buf, 0); } |