diff options
Diffstat (limited to 'src/common/compress_zstd.c')
-rw-r--r-- | src/common/compress_zstd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/compress_zstd.c b/src/common/compress_zstd.c index 58ec28d001..c1cdaf17ad 100644 --- a/src/common/compress_zstd.c +++ b/src/common/compress_zstd.c @@ -62,10 +62,10 @@ tor_zstd_get_version_str(void) version_number = ZSTD_versionNumber(); tor_snprintf(version_str, sizeof(version_str), - "%lu.%lu.%lu", - version_number / 10000 % 100, - version_number / 100 % 100, - version_number % 100); + "%d.%d.%d", + (int) version_number / 10000 % 100, + (int) version_number / 100 % 100, + (int) version_number % 100); return version_str; #else /* !(defined(HAVE_ZSTD)) */ |