We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea2a4d1 commit 50189ebCopy full SHA for 50189eb
1 file changed
packages/php-ext-wp-mysql-parser/src/lib.rs
@@ -1237,7 +1237,7 @@ fn zval_from_object_addref(obj: &ZendObject) -> Zval {
1237
// 32-bit refcount; bump it to claim our share before exposing the
1238
// pointer to PHP.
1239
(*ptr).gc.refcount += 1;
1240
- zv.set_object(ptr);
+ zv.set_object(&mut *ptr);
1241
}
1242
zv
1243
0 commit comments