]> granicus.if.org Git - php/commitdiff
- Fixed weird types, this also makes it compile on IRIX again.
authorDerick Rethans <derick@php.net>
Fri, 17 Dec 2004 13:07:57 +0000 (13:07 +0000)
committerDerick Rethans <derick@php.net>
Fri, 17 Dec 2004 13:07:57 +0000 (13:07 +0000)
main/php_sprintf.c

index 6fe98be5a63d0928350122b5a8944474613e599d..1e41e37493a78413fe13c20ab7536292c24399a4 100644 (file)
@@ -26,7 +26,7 @@ PHPAPI int
 php_sprintf (char*s, const char* format, ...)
 {
   va_list args;
-  char *ret;
+  int ret;
 
   va_start (args, format);
   s[0] = '\0';