mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
SUN CC does not like like left side casting - see bug #6759
@Fixed ext/java so that it will compile with SUN CC
This commit is contained in:
@@ -552,7 +552,7 @@ static pval _java_getset_property
|
||||
zend_hash_index_find(property_reference->object->value.obj.properties,
|
||||
0, (void **) &pobject);
|
||||
obj = zend_list_find((*pobject)->value.lval,&type);
|
||||
(pval*)(long)result = &presult;
|
||||
result = (jlong)(long) &presult;
|
||||
var_uninit(&presult);
|
||||
|
||||
if (!obj || (type!=le_jobject)) {
|
||||
|
||||
Reference in New Issue
Block a user