php_ticks.c patch

From: Date: Mon, 04 Mar 2002 10:51:31 +0000
Subject: php_ticks.c patch
Groups: php.dev 
Request: Send a blank email to php-dev+get-80688@lists.php.net to get a copy of this message
The following patch quells a warning under 'cc: WorkShop Compilers 5.0 98/12/15 C 5.0' (Solaris 8). I think it's theoretically correct, but I'd like a second opinion before I commit the change. -- Jon Parise (jon@csh.rit.edu) . Information Technology (2001) http://www.csh.rit.edu/~jon/ : Computer Science House Member

Index: php_ticks.c =================================================================== RCS file: /repository/php4/main/php_ticks.c,v retrieving revision 1.14 diff -u -r1.14 php_ticks.c --- php_ticks.c 28 Feb 2002 08:27:04 -0000 1.14 +++ php_ticks.c 4 Mar 2002 10:49:31 -0000 @@ -52,7 +52,7 @@ { TSRMLS_FETCH(); - zend_llist_del_element(&PG(tick_functions), func, + zend_llist_del_element(&PG(tick_functions), (void *)func, (int(*)(void*, void*))php_compare_tick_functions); }
« previous php.dev (#80688) next »