diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-02-27 23:05:15 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-02-27 23:05:15 +0100 |
commit | 96e62a4664970cb3582aa91657581c116b6dfc4e (patch) | |
tree | a47e019c050e9774ebce6bb7093feffdb77f9808 /firmware/libcommon/source/stdio.c | |
parent | 045ea3eb7bda56e9e60e40c85f4870eda05cb2b4 (diff) |
stdio.c: fix compiler warning
Diffstat (limited to 'firmware/libcommon/source/stdio.c')
-rw-r--r-- | firmware/libcommon/source/stdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/libcommon/source/stdio.c b/firmware/libcommon/source/stdio.c index f69e8bd..4d9d9f3 100644 --- a/firmware/libcommon/source/stdio.c +++ b/firmware/libcommon/source/stdio.c @@ -294,7 +294,7 @@ signed int vsnprintf(char *pStr, size_t length, const char *pFormat, va_list ap) char fill; unsigned char width; signed int num = 0; - signed int size = 0; + size_t size = 0; // Clear the string if (pStr) { |