1
0
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:
foobar
2001-08-14 07:09:20 +00:00
parent 442669055b
commit 2983993b59
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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;