summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-25 12:43:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-25 12:43:44 +0000
commit012d1f86cc37205f2060b535de2775938dbb9688 (patch)
treec688dc594a77729d8ef037a4ed266eb020330ba9 /firmware
parentab3868ac1d234480ffc84329f8fbaa3bed1e9fa2 (diff)
use size_t and not int as the prototype says so
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3614 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c
index 94fc295938..e72648cfae 100644
--- a/firmware/common/sprintf.c
+++ b/firmware/common/sprintf.c
@@ -138,7 +138,7 @@ static int sprfunc(void *ptr, unsigned char letter)
}
-int snprintf(char *buf, int size, const char *fmt, ...)
+int snprintf(char *buf, size_t size, const char *fmt, ...)
{
bool ok;
va_list ap;