|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-06 17:22 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 09:00:01 2025 UTC |
Description: ------------ php-5.0.3/Zend/zend_compile.c: In function `build_runtime_defined_function_key': php-5.0.3/Zend/zend_compile.c:71: warning: cast from pointer to integer of different size Fix: --- Zend/zend_compile.c.orig 2004-12-06 12:52:59.000000000 +0100 +++ Zend/zend_compile.c 2005-02-21 13:07:16.640804919 +0100 @@ -68,7 +68,7 @@ uint char_pos_len; char *filename; - char_pos_len = zend_sprintf(char_pos_buf, "%x", (unsigned int) LANG_SCNG(_yy_last_accepting_cpos)); + char_pos_len = zend_sprintf(char_pos_buf, "%p", LANG_SCNG(_yy_last_accepting_cpos)); if (CG(active_op_array)->filename) { filename = CG(active_op_array)->filename; } else {