Skip to content

Commit 9ddfd49

Browse files
committed
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6: Use LL_MASK for SQL_INT64 data formatting
2 parents 337fd3a + 8da5752 commit 9ddfd49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_statement.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ static int firebird_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, /* {{
371371
break;
372372
case SQL_INT64:
373373
*ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL);
374-
*len = slprintf(*ptr, CHAR_BUF_LEN, "%ld" LL_MASK "d", *(ISC_INT64*)var->sqldata);
374+
*len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d", *(ISC_INT64*)var->sqldata);
375375
break;
376376
case SQL_FLOAT:
377377
*ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL);

0 commit comments

Comments
 (0)