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:
Jason Greene 2000-11-16 22:19:48 +00:00
parent 6f79fc7d46
commit 608ee593a4
2 changed files with 2 additions and 2 deletions

View file

@ -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)) {