summaryrefslogtreecommitdiff
path: root/ext/sybase/php_sybase_db.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-08-28 21:00:24 +0000
committerAndrey Hristov <andrey@php.net>2003-08-28 21:00:24 +0000
commitb2eb454171b8d8050f7e68c6fb342ae29cf29819 (patch)
tree2305814179a570a884b504a04f09a9ba5d9e02af /ext/sybase/php_sybase_db.c
parentacb65b7c0a2a9c3c5e6ce60bd0e509a643180227 (diff)
downloadphp-git-b2eb454171b8d8050f7e68c6fb342ae29cf29819.tar.gz
format string fixes
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
-rw-r--r--ext/sybase/php_sybase_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c
index b2eed1c88d..40f09dd427 100644
--- a/ext/sybase/php_sybase_db.c
+++ b/ext/sybase/php_sybase_db.c
@@ -957,7 +957,7 @@ PHP_FUNCTION(sybase_free_result)
result = (sybase_result *) zend_list_find(Z_LVAL_PP(sybase_result_index),&type);
if (type!=php_sybase_module.le_result) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING,"%d is not a Sybase result index",Z_LVAL_PP(sybase_result_index));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%ld is not a Sybase result index", Z_LVAL_PP(sybase_result_index));
RETURN_FALSE;
}
zend_list_delete(Z_LVAL_PP(sybase_result_index));
@@ -1078,7 +1078,7 @@ static void php_sybase_fetch_hash(INTERNAL_FUNCTION_PARAMETERS)
result = (sybase_result *) zend_list_find(Z_LVAL_PP(sybase_result_index),&type);
if (type!=php_sybase_module.le_result) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING,"%d is not a Sybase result index",Z_LVAL_PP(sybase_result_index));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%ld is not a Sybase result index", Z_LVAL_PP(sybase_result_index));
RETURN_FALSE;
}
@@ -1314,7 +1314,7 @@ PHP_FUNCTION(sybase_result)
convert_to_long_ex(row);
if (Z_LVAL_PP(row)<0 || Z_LVAL_PP(row)>=result->num_rows) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING,"Sybase: Bad row offset (%d)",Z_LVAL_PP(row));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING,"Sybase: Bad row offset (%ld)", Z_LVAL_PP(row));
RETURN_FALSE;
}