aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_mbstr_fw.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-01-12 06:01:12 +0200
committerLasse Collin <lasse.collin@tukaani.org>2023-01-12 06:01:12 +0200
commitb1a6d180a363d57b2b1c89526ff3f0782bf863d3 (patch)
tree279bdfdc8790fd8039183319071e4b54ca7b2b17 /src/common/tuklib_mbstr_fw.c
parentliblzma: Silence another warning from -Wsign-conversion in a 32-bit build. (diff)
downloadxz-b1a6d180a363d57b2b1c89526ff3f0782bf863d3.tar.xz
xz: Silence warnings from -Wsign-conversion in a 32-bit build.
Diffstat (limited to '')
-rw-r--r--src/common/tuklib_mbstr_fw.c2
1 files changed, 1 insertions, 1 deletions
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;
}