diff options
Diffstat (limited to 'ext/standard/http.c')
-rw-r--r-- | ext/standard/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/http.c b/ext/standard/http.c index 528aff3c95..4d173e57a1 100644 --- a/ext/standard/http.c +++ b/ext/standard/http.c @@ -110,7 +110,7 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, char *ekey; size_t ekey_len; /* Is an integer key */ - ekey_len = spprintf(&ekey, 0, "%pd", idx); + ekey_len = spprintf(&ekey, 0, ZEND_LONG_FMT, idx); newprefix_len = key_prefix_len + num_prefix_len + ekey_len + key_suffix_len + 3 /* %5B */; newprefix = emalloc(newprefix_len + 1); p = newprefix; |