diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-29 12:58:45 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-29 13:08:16 +0100 |
commit | ee3227af48bb0db6f29117dca7d8a30bb21bde5e (patch) | |
tree | 2198edc4be1f5907065c9c02b8124d74149dfe90 | |
parent | c21e901ba735e927e345b65a35fcd6f585d0c2f3 (diff) | |
download | php-git-ee3227af48bb0db6f29117dca7d8a30bb21bde5e.tar.gz |
Fix format specifier
In this function, `i` is of type `size_t`.
-rw-r--r-- | ext/odbc/php_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index cc0580fb83..1602e8d6f9 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -2374,7 +2374,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) { |