mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
AIX's XlC++ does not allow casts as an lvalue.
This commit is contained in:
parent
a0acd8054a
commit
a472edb99b
@ -304,7 +304,7 @@ JNIEXPORT jlong JNICALL Java_net_php_servlet_define
|
||||
ELS_FETCH();
|
||||
|
||||
MAKE_STD_ZVAL(pzval);
|
||||
(pval*)(long)addr = pzval;
|
||||
addr = (jlong)(long) pzval;
|
||||
|
||||
zend_hash_add(&EG(symbol_table), (char*)nameAsUTF,
|
||||
strlen(nameAsUTF)+1, &pzval, sizeof(pval *), NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user