mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
Fix ZTS build.
This commit is contained in:
+2
-1
@@ -689,7 +689,8 @@ JNIEXPORT void JNICALL Java_net_php_reflect_setResultFromObject
|
||||
/* wrapper the java object in a pval object */
|
||||
pval *presult = (pval*)(long)result;
|
||||
pval *handle;
|
||||
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (presult->type != IS_OBJECT) {
|
||||
object_init_ex(presult, &java_class_entry);
|
||||
presult->is_ref=1;
|
||||
|
||||
Reference in New Issue
Block a user