diff options
author | 2021-07-28 20:19:34 +0200 | |
---|---|---|
committer | 2021-07-28 20:22:19 +0200 | |
commit | d61007297d43998f2cd7d5c689d8d64695ed7168 (patch) | |
tree | b19f177970ef16a239de896516e169102e1e3625 | |
parent | global: upgrade clang-format (diff) | |
download | wintun-d61007297d43998f2cd7d5c689d8d64695ed7168.tar.xz wintun-d61007297d43998f2cd7d5c689d8d64695ed7168.zip |
example: resolve signed/unsigned code analysis warning
Signed-off-by: Simon Rozman <simon@rozman.si>
-rw-r--r-- | example/example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/example.c b/example/example.c index 54ea0ec..75eba9c 100644 --- a/example/example.c +++ b/example/example.c @@ -87,7 +87,7 @@ ConsoleLogger(_In_ WINTUN_LOGGER_LEVEL Level, _In_z_ const WCHAR *LogLine) }
fwprintf(
stderr,
- L"%04d-%02d-%02d %02d:%02d:%02d.%04d [%c] %s\n",
+ L"%04u-%02u-%02u %02u:%02u:%02u.%04u [%c] %s\n",
SystemTime.wYear,
SystemTime.wMonth,
SystemTime.wDay,
|