diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-05-30 06:31:24 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-30 06:31:24 +0000 |
| commit | e29d0307cb034a41b9ed778bbb72c5fdaff5591b (patch) | |
| tree | 06c66cd568216ce260fead3366e30b93296382d0 /firmware | |
| parent | d69cb5545fe65dd0396dd1b3c6173e80cb57f0b8 (diff) | |
| download | rockbox-e29d0307cb034a41b9ed778bbb72c5fdaff5591b.zip rockbox-e29d0307cb034a41b9ed778bbb72c5fdaff5591b.tar.gz rockbox-e29d0307cb034a41b9ed778bbb72c5fdaff5591b.tar.bz2 rockbox-e29d0307cb034a41b9ed778bbb72c5fdaff5591b.tar.xz | |
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
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/common/sprintf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/sprintf.h b/firmware/common/sprintf.h index 548127a..be79683 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__ */ |