]> granicus.if.org Git - php/commitdiff
Missed to check this one in the last commit
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 23 Sep 2010 03:49:26 +0000 (03:49 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 23 Sep 2010 03:49:26 +0000 (03:49 +0000)
ext/standard/var.c

index cf5c94f2a046f598c682e2721dbccc58e26444d8..c2bdcbb52eb240cf8d45d074053a5cfd5c271373 100644 (file)
@@ -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);