summaryrefslogtreecommitdiff
path: root/ext/crack/crack.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crack/crack.c')
-rw-r--r--ext/crack/crack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/crack/crack.c b/ext/crack/crack.c
index 6270e5787a..268e4b048f 100644
--- a/ext/crack/crack.c
+++ b/ext/crack/crack.c
@@ -168,7 +168,7 @@ ZEND_FUNCTION(crack_closedict)
if (zend_get_parameters_ex(1, &dictionary) == FAILURE) {
WRONG_PARAM_COUNT;
}
- id = (*dictionary)->value.lval;
+ id = Z_LVAL_PP(dictionary);
break;
default:
WRONG_PARAM_COUNT;