We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3303c15 commit ae0ba1aCopy full SHA for ae0ba1a
ext/dom/internal_helpers.h
@@ -18,8 +18,8 @@
18
#define DOM_INTERNAL_HELPERS
19
20
/* We're using the type flags of the zval to store an extra flag. */
21
-#define DOM_Z_OWNED(z, v) ZVAL_PTR(z, (void *) v)
22
-#define DOM_Z_UNOWNED(z, v) ZVAL_INDIRECT(z, (void *) v)
+#define DOM_Z_OWNED(z, v) ZVAL_PTR(z, (void *) (v))
+#define DOM_Z_UNOWNED(z, v) ZVAL_INDIRECT(z, (void *) (v))
23
#define DOM_Z_IS_OWNED(z) (Z_TYPE_P(z) == IS_PTR)
24
25
#ifdef DOM_CE_H
0 commit comments