summaryrefslogtreecommitdiff
path: root/ext/mssql
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mssql')
-rw-r--r--ext/mssql/php_mssql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index 400de7376f..dedf6dd173 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -1834,7 +1834,7 @@ PHP_FUNCTION(mssql_result)
ZEND_FETCH_RESOURCE(result, mssql_result *, &mssql_result_index, -1, "MS SQL-result", le_result);
if (row < 0 || row >= result->num_rows) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad row offset (%l)", row);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad row offset (%ld)", row);
RETURN_FALSE;
}