summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-12-17 13:08:44 (GMT)
committerDerick Rethans <derick@php.net>2004-12-17 13:08:44 (GMT)
commit6386777fe3bce80f813dc27caa47104520178cc0 (patch)
tree1559f79c405ee6ce419753f9ce5085e56a06ed90 /main
parentb462fc8bd20137ec983a887fec95902bed1161ad (diff)
downloadphp-6386777fe3bce80f813dc27caa47104520178cc0.tar.gz
- MF43: Fixed weird types, this also makes it compile on IRIX again.
Diffstat (limited to 'main')
-rw-r--r--main/php_sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_sprintf.c b/main/php_sprintf.c
index e18bd25..52a8490 100644
--- a/main/php_sprintf.c
+++ b/main/php_sprintf.c
@@ -33,7 +33,7 @@ PHPAPI int
php_sprintf (char*s, const char* format, ...)
{
va_list args;
- char *ret;
+ int ret;
va_start (args, format);
s[0] = '\0';