cvs: /php4/ext/standard basic_functions.c
| From: | Evan Klinger | Date: | Wed, 03 Nov 1999 02:54:23 +0000 |
| Subject: | cvs: /php4/ext/standard basic_functions.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5849@lists.php.net to get a copy of this message | ||
evan Tue Nov 2 21:54:23 1999 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
#I hope this is the correct way to 'fix' this.
Fix compile warning
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.115 php4/ext/standard/basic_functions.c:1.116
--- php4/ext/standard/basic_functions.c:1.115 Tue Nov 2 09:39:12 1999
+++ php4/ext/standard/basic_functions.c Tue Nov 2 21:53:52 1999
@@ -3255,7 +3255,7 @@
/* 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;