Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix format specifier
This commit is contained in:
Christoph M. Becker 2020-10-29 13:09:19 +01:00
commit dd97cb1665

View file

@ -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) {