diff options
author | Popa Adrian Marius <mapopa@gmail.com> | 2015-12-03 17:12:02 +0200 |
---|---|---|
committer | Popa Adrian Marius <mapopa@gmail.com> | 2015-12-03 17:12:02 +0200 |
commit | 8da575231101e240db0670cd9f3105e9cb07e071 (patch) | |
tree | faf59cb0dcb73f2767b9ab4726775f989c1763fc /ext | |
parent | 4173a667fab0c77d1704a6b9d9a8e6ab1209ff72 (diff) | |
download | php-git-8da575231101e240db0670cd9f3105e9cb07e071.tar.gz |
Use LL_MASK for SQL_INT64 data formatting
Diffstat (limited to 'ext')
-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 c482664f5a..593b3f131b 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); |