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

index b4d8ba0afad3fe2c9ffee3f1ee054045171441f0..02bfc9543c1e33e002e3401165ff9620fb86220e 100644 (file)
@@ -1827,7 +1827,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;
        }