summaryrefslogtreecommitdiff
path: root/zend/objectimpl.h
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2016-05-17 13:47:20 +0200
committerMartijn Otto <martijn.otto@copernica.com>2016-05-17 13:47:20 +0200
commitdd5f3a635053aa03417cdab1228e03c94b9c3136 (patch)
tree53178a459fcefdfa551eb501064e70453611788a /zend/objectimpl.h
parent9f2e816c787c30ceeb139623c8dae594c4b4443d (diff)
Fixed final compilation issues
Diffstat (limited to 'zend/objectimpl.h')
-rw-r--r--zend/objectimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/objectimpl.h b/zend/objectimpl.h
index b014bb1..ed48e26 100644
--- a/zend/objectimpl.h
+++ b/zend/objectimpl.h
@@ -77,7 +77,7 @@ public:
_mixed->php.handlers = handlers;
// set the initial refcount (if it is different than one, because one is the default)
- if (refcount != 1) php()->gc.refcount = refcount;
+ if (refcount != 1) GC_REFCOUNT(php()) = refcount;
// the object may remember that we are its implementation object
base->_impl = this;