MAKE_STD_ZVAL(addr);
Z_TYPE_P(addr) = IS_LONG;
- Z_LVAL_P(addr) = (int) obj;
+ Z_LVAL_P(addr) = (long) obj;
zend_hash_index_update(Z_OBJPROP_P(wrapper), 0, &handle, sizeof(zval *), NULL);
zend_hash_index_update(Z_OBJPROP_P(wrapper), 1, &addr, sizeof(zval *), NULL);
MAKE_STD_ZVAL(addr);
Z_TYPE_P(addr) = IS_LONG;
- Z_LVAL_P(addr) = (int) obj;
+ Z_LVAL_P(addr) = (long) obj;
zend_hash_index_update(Z_OBJPROP_P(wrapper), 0, &handle, sizeof(zval *), NULL);
zend_hash_index_update(Z_OBJPROP_P(wrapper), 1, &addr, sizeof(zval *), NULL);
MAKE_STD_ZVAL(addr);
Z_TYPE_P(addr) = IS_LONG;
- Z_LVAL_P(addr) = (int) obj;
+ Z_LVAL_P(addr) = (long) obj;
zend_hash_index_update(Z_OBJPROP_P(wrapper), 0, &handle, sizeof(zval *), NULL);
zend_hash_index_update(Z_OBJPROP_P(wrapper), 1, &addr, sizeof(zval *), NULL);
MAKE_STD_ZVAL(addr);
Z_TYPE_P(addr) = IS_LONG;
- Z_LVAL_P(addr) = (int) obj;
+ Z_LVAL_P(addr) = (long) obj;
zend_hash_index_update(Z_OBJPROP_P(wrapper), 0, &handle, sizeof(zval *), NULL);
zend_hash_index_update(Z_OBJPROP_P(wrapper), 1, &addr, sizeof(zval *), NULL);