diff options
Diffstat (limited to 'libs/common_time/common_time_server.cpp')
-rw-r--r-- | libs/common_time/common_time_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/common_time/common_time_server.cpp b/libs/common_time/common_time_server.cpp index 21e706f..3e11987 100644 --- a/libs/common_time/common_time_server.cpp +++ b/libs/common_time/common_time_server.cpp @@ -590,7 +590,7 @@ static void hexDumpToString(const uint8_t* src, size_t src_len, for (i = 0; (i < src_len) && (offset < dst_len); ++i) { int res; if (0 == (i % 16)) { - res = snprintf(dst + offset, dst_len - offset, "\n%04x :", i); + res = snprintf(dst + offset, dst_len - offset, "\n%04zx :", i); if (res < 0) break; offset += res; |