cvs: php-src(PHP_4_3) /main php_sprintf.c
| From: | Derick Rethans | Date: | Fri, 17 Dec 2004 13:07:59 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /main php_sprintf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29576@lists.php.net to get a copy of this message | ||
derick Fri Dec 17 08:07:59 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/main php_sprintf.c
Log:
- Fixed weird types, this also makes it compile on IRIX again.
http://cvs.php.net/diff.php/php-src/main/php_sprintf.c?r1=1.12.8.4&r2=1.12.8.5&ty=u
Index: php-src/main/php_sprintf.c
diff -u php-src/main/php_sprintf.c:1.12.8.4 php-src/main/php_sprintf.c:1.12.8.5
--- php-src/main/php_sprintf.c:1.12.8.4 Mon Nov 15 18:27:26 2004
+++ php-src/main/php_sprintf.c Fri Dec 17 08:07:57 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_sprintf.c,v 1.12.8.4 2004/11/15 23:27:26 fmk Exp $ */
+/* $Id: php_sprintf.c,v 1.12.8.5 2004/12/17 13:07:57 derick Exp $ */
#include <stdio.h>
#include <stdarg.h>
@@ -26,7 +26,7 @@
php_sprintf (char*s, const char* format, ...)
{
va_list args;
- char *ret;
+ int ret;
va_start (args, format);
s[0] = '\0';