Skip to content

Commit 489b532

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Fix format specifier
2 parents ce7c2cc + dd97cb1 commit 489b532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/odbc/php_odbc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@ PHP_FUNCTION(odbc_result_all)
19961996
PHPWRITE(buf, result->longreadlen);
19971997
} else if (rc != SQL_SUCCESS) {
19981998
php_printf("</td></tr></table>");
1999-
php_error_docref(NULL, E_WARNING, "Cannot get data of column #%d (retcode %u)", i + 1, rc);
1999+
php_error_docref(NULL, E_WARNING, "Cannot get data of column #%zu (retcode %u)", i + 1, rc);
20002000
efree(buf);
20012001
RETURN_FALSE;
20022002
} else if (result->values[i].vallen == SQL_NULL_DATA) {

0 commit comments

Comments
 (0)