cvs: php-src /ext/standard var.c
| From: | Ilia Alshanetsky | Date: | Mon, 08 Mar 2004 03:06:57 +0000 |
| Subject: | cvs: php-src /ext/standard var.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26535@lists.php.net to get a copy of this message | ||
iliaa Sun Mar 7 22:06:57 2004 EDT
Modified files:
/php-src/ext/standard var.c
Log:
Fixed compiler warnings.
http://cvs.php.net/diff.php/php-src/ext/standard/var.c?r1=1.184&r2=1.185&ty=u
Index: php-src/ext/standard/var.c
diff -u php-src/ext/standard/var.c:1.184 php-src/ext/standard/var.c:1.185
--- php-src/ext/standard/var.c:1.184 Wed Feb 25 15:16:26 2004
+++ php-src/ext/standard/var.c Sun Mar 7 22:06:56 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: var.c,v 1.184 2004/02/25 20:16:26 abies Exp $ */
+/* $Id: var.c,v 1.185 2004/03/08 03:06:56 iliaa Exp $ */
/* {{{ includes
@@ -69,7 +69,6 @@
HashTable *myht = NULL;
char *class_name;
zend_uint class_name_len;
- zend_class_entry *ce;
if (level > 1) {
php_printf("%*c", level - 1, ' ');
@@ -741,7 +740,7 @@
if (!php_var_unserialize(&return_value, &p, p + Z_STRLEN_PP(buf), &var_hash
TSRMLS_CC)) {
PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
zval_dtor(return_value);
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Error at offset %ld of %ld bytes", p -
Z_STRVAL_PP(buf), Z_STRLEN_PP(buf));
+ php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Error at offset %d of %d bytes", p -
Z_STRVAL_PP(buf), Z_STRLEN_PP(buf));
RETURN_FALSE;
}
PHP_VAR_UNSERIALIZE_DESTROY(var_hash);