diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-05-17 19:33:03 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-05-17 19:33:03 +0000 |
| commit | 746b89df163402071d717ca5346372ab0235173b (patch) | |
| tree | e22d3a2166bc757e2eac7f8905aec5c640786725 /ext/pdo_mysql/mysql_driver.c | |
| parent | 2ebda52b24a67424a09109e52cc79b706d5f8598 (diff) | |
| download | php-git-746b89df163402071d717ca5346372ab0235173b.tar.gz | |
Fixed type mixup.
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
| -rwxr-xr-x | ext/pdo_mysql/mysql_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index 4e1ab8a822..4be0f2dab2 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -156,7 +156,7 @@ static char *pdo_mysql_last_insert_id(pdo_dbh_t *dbh, const char *name, unsigned pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; char *id = NULL; - *len = spprintf(&id, 0, "%ld", mysql_insert_id(H->server)); + *len = spprintf(&id, 0, "%lld", mysql_insert_id(H->server)); return id; } |
