]> granicus.if.org Git - php/commitdiff
- Fixed param type (%l -> %ld)
authorFelipe Pena <felipe@php.net>
Tue, 26 May 2009 12:35:46 +0000 (12:35 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 26 May 2009 12:35:46 +0000 (12:35 +0000)
ext/mssql/php_mssql.c

index 400de7376fbe47bc331e14d4ee7db7144a93e91e..dedf6dd1739e8bd10f59da69eb3dfe500fca07d4 100644 (file)
@@ -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;
        }