diff options
Diffstat (limited to 'ext/standard/pack.c')
-rw-r--r-- | ext/standard/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/pack.c b/ext/standard/pack.c index 556a96d374..d0792c1c17 100644 --- a/ext/standard/pack.c +++ b/ext/standard/pack.c @@ -89,7 +89,7 @@ static void php_pack(zval *val, size_t size, int *map, char *output) int i; char *v; - convert_to_int_ex(val); + convert_to_long_ex(val); v = (char *) &Z_LVAL_P(val); for (i = 0; i < size; i++) { |