mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Add %zu printf support
This commit is contained in:
1 parent
ad269fa4d5
commit
875c0fcd4f
3 files changed
+15
No files matched your search
@@ -173,6 +173,7 @@ size_t mg_vxprintf(void (*out)(char, void *), void *param, const char *fmt,
|
||||
is_long++, c = fmt[++i];
|
||||
if (c == 'l') is_long++, c = fmt[++i];
|
||||
}
|
||||
if (c == 'z') is_long = 1, c = fmt[++i];
|
||||
if (c == 'p') x = 1, is_long = 1;
|
||||
if (c == 'd' || c == 'u' || c == 'x' || c == 'X' || c == 'p' ||
|
||||
c == 'g' || c == 'f') {
|
||||
|
||||
Reference in new issue
Block a user