diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:32 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:32 +0300 |
commit | 67c64a99fb78f48c3deacc7d89e73de72522806b (patch) | |
tree | 384b433c94fc63e27d21d6b05153d162655e79bc /src/nxt_sprintf.c | |
parent | 477e8177b70acb694759e62d830b8a311a736324 (diff) | |
download | unit-67c64a99fb78f48c3deacc7d89e73de72522806b.tar.gz unit-67c64a99fb78f48c3deacc7d89e73de72522806b.tar.bz2 |
Using size_t for the field width type of the "%*s" specifier.
Diffstat (limited to 'src/nxt_sprintf.c')
-rw-r--r-- | src/nxt_sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_sprintf.c b/src/nxt_sprintf.c index c07b44da..5f0314f2 100644 --- a/src/nxt_sprintf.c +++ b/src/nxt_sprintf.c @@ -163,7 +163,7 @@ nxt_vsprintf(u_char *buf, u_char *end, const char *fmt, va_list args) continue; case '*': - length = va_arg(args, u_int); + length = va_arg(args, size_t); fmt++; |