1
0
Fork 0
forked from len0rd/rockbox

Initial gcc4 warning cleanup (and some minor policing)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-11-25 00:10:12 +00:00
parent 8790056691
commit 1a29cfb23e
8 changed files with 29 additions and 29 deletions

View file

@ -181,7 +181,7 @@ int snprintf(char *buf, size_t size, const char *fmt, ...)
va_list ap;
struct for_snprintf pr;
pr.ptr = buf;
pr.ptr = (unsigned char *)buf;
pr.bytes = 0;
pr.max = size;
@ -200,7 +200,7 @@ int vsnprintf(char *buf, int size, const char *fmt, va_list ap)
bool ok;
struct for_snprintf pr;
pr.ptr = buf;
pr.ptr = (unsigned char *)buf;
pr.bytes = 0;
pr.max = size;