diff options
author | Evan Klinger <evan@php.net> | 1999-11-03 02:53:52 +0000 |
---|---|---|
committer | Evan Klinger <evan@php.net> | 1999-11-03 02:53:52 +0000 |
commit | b1c4f8978d43042dcd0aa9b46adb2c3c80403360 (patch) | |
tree | ecd26d84de747c04e2ca3adc90c1d7756d828bdb | |
parent | af07e331ac1cae1fd7a59061d745839b4e5d3665 (diff) | |
download | php-git-b1c4f8978d43042dcd0aa9b46adb2c3c80403360.tar.gz |
#I hope this is the correct way to 'fix' this.
Fix compile warning
-rw-r--r-- | ext/standard/basic_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index ebc46250f0..a9f03572b7 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -3255,7 +3255,7 @@ PHP_FUNCTION(array_pad) /* Populate the pads array */ num_pads = pad_size_abs - input_size; - pads = (zval **)emalloc(num_pads * sizeof(zval **)); + pads = (zval ***)emalloc(num_pads * sizeof(zval **)); for (i = 0; i < num_pads; i++) pads[i] = pad_value; |