summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-01-17 00:26:12 +0000
committerfoobar <sniper@php.net>2004-01-17 00:26:12 +0000
commit796938ec7f9bdffe8c52867fb4b7a04d068de8de (patch)
treef87185195bd5767aa2e08ee10469f52dc37a4e3e /Zend/zend_compile.c
parent2c71464b40cb7beaa908b495e2e7ff9f5c631cc8 (diff)
downloadphp-git-796938ec7f9bdffe8c52867fb4b7a04d068de8de.tar.gz
Nuke compile warning by using the LANG_SCNG macro instead
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 9432407abd..364df789c0 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -68,7 +68,7 @@ static void build_runtime_defined_function_key(zval *result, char *name, int nam
uint char_pos_len;
char *filename;
- char_pos_len = zend_sprintf(char_pos_buf, "%x", zend_get_last_accepting_character_position(TSRMLS_C));
+ char_pos_len = zend_sprintf(char_pos_buf, "%x", (unsigned int) LANG_SCNG(_yy_last_accepting_cpos));
if (CG(active_op_array)->filename) {
filename = CG(active_op_array)->filename;
} else {