diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-05-18 22:40:56 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-05-18 22:40:56 +0000 |
commit | fa0e534f83ee1bf23b9bb6f87af6d341cec815f5 (patch) | |
tree | 4e47243f68f95fb314207c652f22f9b5067e4b7a /ext/pdo_pgsql/pgsql_driver.c | |
parent | 92c8c09da5e62808ab9472a6e3eccb4253687c5e (diff) | |
download | php-git-fa0e534f83ee1bf23b9bb6f87af6d341cec815f5.tar.gz |
Various compiler warning fixes.
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 b63b20f125..f0531db7ff 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -215,7 +215,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, "%lld", H->pgoid); return id; } |