/shark/trunk/ports/png/gzio.c |
---|
5,7 → 5,7 |
* Compile this file with -DNO_DEFLATE to avoid the compression code. |
*/ |
/* @(#) $Id: gzio.c,v 1.2 2003-03-20 14:58:29 giacomo Exp $ */ |
/* @(#) $Id: gzio.c,v 1.3 2003-03-20 15:14:33 giacomo Exp $ */ |
#include <stdio.h> |
534,7 → 534,7 |
#else |
//(void)vsprintf(buf, format, va); |
#endif |
sprintf(buf,format); |
sprintf(buf,"%s",format); |
va_end(va); |
len = strlen(buf); /* some *sprintf don't return the nb of bytes written */ |
if (len <= 0) return 0; |