summaryrefslogtreecommitdiff
path: root/ext/standard/dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r--ext/standard/dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c
index 19573d8e42..2f92c82d2c 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -83,7 +83,7 @@ PHPAPI PHP_FUNCTION(dl)
}
php_dl(filename, MODULE_TEMPORARY, return_value, 0 TSRMLS_CC);
- if (Z_LVAL_P(return_value) == 1) {
+ if (Z_IVAL_P(return_value) == 1) {
EG(full_tables_cleanup) = 1;
}
}