summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-10-29 13:09:19 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-10-29 13:09:19 +0100
commitdd97cb1665fbcc57a966a1d5a356a4eff9743f63 (patch)
treefbfecea247f2b2c9dc82a72fec38c66b9e21fbbf
parent78b44ddeba46c09f26c3036484e82b71398fb2f3 (diff)
parentee3227af48bb0db6f29117dca7d8a30bb21bde5e (diff)
downloadphp-git-dd97cb1665fbcc57a966a1d5a356a4eff9743f63.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix format specifier
-rw-r--r--ext/odbc/php_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 99ce6014d8..af3ea10bc6 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -2373,7 +2373,7 @@ PHP_FUNCTION(odbc_result_all)
PHPWRITE(buf, result->longreadlen);
} else if (rc != SQL_SUCCESS) {
php_printf("</td></tr></table>");
- php_error_docref(NULL, E_WARNING, "Cannot get data of column #%d (retcode %u)", i + 1, rc);
+ php_error_docref(NULL, E_WARNING, "Cannot get data of column #%zu (retcode %u)", i + 1, rc);
efree(buf);
RETURN_FALSE;
} else if (result->values[i].vallen == SQL_NULL_DATA) {