From e29d0307cb034a41b9ed778bbb72c5fdaff5591b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 May 2002 06:31:24 +0000 Subject: Changed the size argument to be a size_t type, to make the prototype look like the system one as otherwise the compiler complains a lot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@805 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/sprintf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/common/sprintf.h b/firmware/common/sprintf.h index 548127a4df..be79683368 100644 --- a/firmware/common/sprintf.h +++ b/firmware/common/sprintf.h @@ -20,6 +20,6 @@ #ifndef __SPRINTF_H__ #define __SPRINTF_H__ -int snprintf (char *buf, int size, const char *fmt, ...); +int snprintf (char *buf, size_t size, const char *fmt, ...); -#endif /* __SPRINTF_H__ */ \ No newline at end of file +#endif /* __SPRINTF_H__ */ -- cgit v1.2.3