From 09fbd2f0527def89e839c8907de4fe7ef6bc5019 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 12 Jan 2023 06:01:12 +0200 Subject: xz: Silence warnings from -Wsign-conversion in a 32-bit build. --- src/common/tuklib_mbstr_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/tuklib_mbstr_fw.c b/src/common/tuklib_mbstr_fw.c index af80dc16..64c9ad5a 100644 --- a/src/common/tuklib_mbstr_fw.c +++ b/src/common/tuklib_mbstr_fw.c @@ -27,5 +27,5 @@ tuklib_mbstr_fw(const char *str, int columns_min) if (width < (size_t)columns_min) len += (size_t)columns_min - width; - return len; + return (int)len; } -- cgit v1.2.3