1
0
zrcadlo https://git.tukaani.org/xz.git synchronizováno 2025-07-03 19:06:37 +00:00

tuklib_mbstr_width: Fix a warning from -Wsign-conversion.

Tento commit je obsažen v:
Lasse Collin 2019-06-23 23:22:45 +03:00
rodič 37df03ce52
revize 5c4fb60e8d

Zobrazit soubor

@ -50,7 +50,7 @@ tuklib_mbstr_width(const char *str, size_t *bytes)
if (wc_width < 0)
return (size_t)-1;
width += wc_width;
width += (size_t)wc_width;
}
// Require that the string ends in the initial shift state.