cvs: php-src /ext/standard filters.c
| From: | Ilia Alshanetsky | Date: | Thu, 01 Jun 2006 22:42:54 +0000 |
| Subject: | cvs: php-src /ext/standard filters.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38560@lists.php.net to get a copy of this message | ||
iliaa Thu Jun 1 22:42:54 2006 UTC
Modified files:
/php-src/ext/standard filters.c
Log:
MFB: fixed compiler warning
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/filters.c?r1=1.56&r2=1.57&diff_format=u
Index: php-src/ext/standard/filters.c
diff -u php-src/ext/standard/filters.c:1.56 php-src/ext/standard/filters.c:1.57
--- php-src/ext/standard/filters.c:1.56 Thu Jun 1 13:45:16 2006
+++ php-src/ext/standard/filters.c Thu Jun 1 22:42:53 2006
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filters.c,v 1.56 2006/06/01 13:45:16 tony2001 Exp $ */
+/* $Id: filters.c,v 1.57 2006/06/01 22:42:53 iliaa Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -1961,7 +1961,7 @@
/* Create this filter */
data = pecalloc(1, sizeof(php_consumed_filter_data), persistent);
if (!data) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %d bytes.",
sizeof(php_consumed_filter_data));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %ld bytes.",
sizeof(php_consumed_filter_data));
return NULL;
}
data->persistent = persistent;