diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-12 06:01:12 +0200 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-02-03 21:10:38 +0800 |
commit | 09fbd2f0527def89e839c8907de4fe7ef6bc5019 (patch) | |
tree | 5678f2fb08c33762f6331a40fe914ec5f82498c7 /src/common/tuklib_mbstr_fw.c | |
parent | liblzma: Silence another warning from -Wsign-conversion in a 32-bit build. (diff) | |
download | xz-09fbd2f0527def89e839c8907de4fe7ef6bc5019.tar.xz |
xz: Silence warnings from -Wsign-conversion in a 32-bit build.
Diffstat (limited to 'src/common/tuklib_mbstr_fw.c')
-rw-r--r-- | src/common/tuklib_mbstr_fw.c | 2 |
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; } |