Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix format specifier
This commit is contained in:
Christoph M. Becker 2020-10-29 13:10:32 +01:00
commit 489b5328c0

View File

@ -1996,7 +1996,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) {