ID:               31173
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lukem at NetBSD dot org
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Warning
 Operating System: NetBSD
 PHP Version:      4.3.10
 New Comment:

Was already fixed yesterday.



Previous Comments:
------------------------------------------------------------------------

[2004-12-18 04:04:51] lukem at NetBSD dot org

Description:
------------
php_sprintf.c::php_sprintf() has
  char *ret;
  // [...]
  ret = vsprintf (s, format, args);

yet vsprintf() returns `int' not `char *'.

The fix is trivial; replace
  char *ret;
with
  int ret;
on line 29 of main/php_sprintf.c



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31173&edit=1

Reply via email to