summaryrefslogtreecommitdiff
path: root/ext/sybase/php_sybase_db.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-08-28 20:27:55 +0000
committerAndrey Hristov <andrey@php.net>2003-08-28 20:27:55 +0000
commit8edac7234df4637407316b84fcf13c236411cfe3 (patch)
tree2c597628873081b6f725c315b032aefd80f41244 /ext/sybase/php_sybase_db.c
parentb767129303721224281ec2ef109a164806621aca (diff)
downloadphp-git-8edac7234df4637407316b84fcf13c236411cfe3.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 d67742b22d..96fa74bbbf 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;
}