summaryrefslogtreecommitdiff
path: root/ext/standard/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/var.c')
-rw-r--r--ext/standard/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/var.c b/ext/standard/var.c
index cf5c94f2a0..c2bdcbb52e 100644
--- a/ext/standard/var.c
+++ b/ext/standard/var.c
@@ -401,7 +401,7 @@ static int php_object_element_export(zval **zv TSRMLS_DC, int num_args, va_list
smart_str_appends(buf, prop_name);
smart_str_appendc(buf, '\'');
} else {
- smart_str_append_long(buf, hash_key->h);
+ smart_str_append_long(buf, (long) hash_key->h);
}
smart_str_appendl(buf, " => ", 4);
php_var_export_ex(zv, level + 2, buf TSRMLS_CC);