diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-06-30 00:07:42 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-06-30 00:07:42 +0000 |
commit | 613d30f2151e701e6fd398693267ff72f80126d8 (patch) | |
tree | ebabf307618ce9c49a398a3a165880bdc381085a /ext/pdo_pgsql/pgsql_driver.c | |
parent | e4860af7850b172fb16ea4fb2cc1e2e747e95959 (diff) | |
download | php-git-613d30f2151e701e6fd398693267ff72f80126d8.tar.gz |
Silence warnings.
Diffstat (limited to 'ext/pdo_pgsql/pgsql_driver.c')
-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 0e17aaf7a7..02106384c4 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -214,7 +214,7 @@ static char *pdo_pgsql_last_insert_id(pdo_dbh_t *dbh, const char *name, unsigned /* TODO: if name != NULL, pull out last value for that sequence/column */ - *len = spprintf(&id, 0, "%ld", H->pgoid); + *len = spprintf(&id, 0, "%ld", (long) H->pgoid); return id; } |