diff options
-rw-r--r-- | uisimulator/x11/sprintf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/x11/sprintf.h b/uisimulator/x11/sprintf.h index 5daa037cea..1e95459d41 100644 --- a/uisimulator/x11/sprintf.h +++ b/uisimulator/x11/sprintf.h @@ -1,7 +1,7 @@ #include <stdarg.h> #include <stdio.h> -int rockbox_snprintf (char *buf, int size, const char *fmt, ...); +int rockbox_snprintf (char *buf, size_t size, const char *fmt, ...); int rockbox_vsnprintf (char *buf, int size, const char *fmt, va_list ap); int rockbox_fprintf (int fd, const char *fmt, ...); |