mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02: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:
parent
6f79fc7d46
commit
608ee593a4
2 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue