summaryrefslogtreecommitdiff
path: root/main/php_sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_sprintf.c')
-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 e18bd25c41..52a8490651 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';