cleanup: Adapt type and cast to get ride of warnings

This commit is contained in:
Michael Vetter
2026-02-19 13:00:41 +01:00
parent 6e61383e97
commit 1120170ef7
4 changed files with 10 additions and 10 deletions

View File

@@ -366,7 +366,7 @@ _inp_write(char* line, int offset)
if (line[i] == '\n') {
c = retc;
ch_len = wctomb(retc, L'\u23ce'); /* return symbol */
if (ch_len == -1) { /* not representable */
if (ch_len == (size_t)-1) { /* not representable */
retc[0] = '\\';
ch_len = 1;
}