diff options
author | Popa Adrian Marius <mapopa@gmail.com> | 2015-12-03 17:13:45 +0200 |
---|---|---|
committer | Popa Adrian Marius <mapopa@gmail.com> | 2015-12-03 17:13:45 +0200 |
commit | 9ddfd4906368730f7b3e15d6271f4a60190d57a8 (patch) | |
tree | 01a718849cfbc446d8fb217cc0e30fe9b75e8f9f /ext/pdo_firebird/firebird_statement.c | |
parent | 337fd3ad64007265b24f479060279b68b604e92c (diff) | |
parent | 8da575231101e240db0670cd9f3105e9cb07e071 (diff) | |
download | php-git-9ddfd4906368730f7b3e15d6271f4a60190d57a8.tar.gz |
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Use LL_MASK for SQL_INT64 data formatting
Diffstat (limited to 'ext/pdo_firebird/firebird_statement.c')
-rw-r--r-- | ext/pdo_firebird/firebird_statement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index c48a4fa2bc..c2b2687557 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -371,7 +371,7 @@ static int firebird_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, /* {{ break; case SQL_INT64: *ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL); - *len = slprintf(*ptr, CHAR_BUF_LEN, "%ld" LL_MASK "d", *(ISC_INT64*)var->sqldata); + *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d", *(ISC_INT64*)var->sqldata); break; case SQL_FLOAT: *ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL); |