cvs: php4 /ext/standard/ var.c /sapi/cgi/ cgi_main.c

From: Date: Tue, 13 Jun 2000 09:17:06 +0000
Subject: cvs: php4 /ext/standard/ var.c /sapi/cgi/ cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-224@lists.php.net to get a copy of this message
sas Tue Jun 13 02:17:06 2000 EDT Modified files: /php4/ext/standard var.c /php4/sapi/cgi cgi_main.c Log: Proper casts Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.58 php4/ext/standard/var.c:1.59 --- php4/ext/standard/var.c:1.58 Fri Jun 9 08:13:36 2000 +++ php4/ext/standard/var.c Tue Jun 13 02:17:06 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.58 2000/06/09 15:13:36 zeev Exp $ */ +/* $Id: var.c,v 1.59 2000/06/13 09:17:06 sas Exp $ */ /* {{{ includes @@ -88,7 +88,7 @@ myht = HASH_OF(*struc); php_printf("%sobject(%s)(%d) {\n", COMMON, (*struc)->value.obj.ce->name, zend_hash_num_elements(myht)); head_done: - zend_hash_apply_with_arguments(myht, php_array_element_dump, 1, level); + zend_hash_apply_with_arguments(myht, (ZEND_STD_HASH_APPLIER) php_array_element_dump, 1, level); if (level>1) { php_printf("%*c\n", level-1, ' '); } Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.49 php4/sapi/cgi/cgi_main.c:1.50 --- php4/sapi/cgi/cgi_main.c:1.49 Sat Jun 10 02:05:22 2000 +++ php4/sapi/cgi/cgi_main.c Tue Jun 13 02:17:06 2000 @@ -598,7 +598,7 @@ file_handle.handle.fp = stdin; /* This actually destructs the elements of the list - ugly hack */ - zend_llist_apply(&global_vars, php_register_command_line_global_vars); + zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars); zend_llist_destroy(&global_vars); if (!cgi) {

« previous php.cvs (#224) next »