commit 8de6525a7eaef45aa9360df68e7acc69c323e16d from: Omar Polo date: Sat Mar 04 16:34:18 2023 UTC cast to unsigned char tolower(3) arg commit - 2dfbb886b40dc72c7b5250241874bd9db9ebca8a commit + 8de6525a7eaef45aa9360df68e7acc69c323e16d blob - e9aa9f809227fc3f46a696c08901a1ab409f452f blob + 7e6cde0b181cef5de5405c1824da40d76a59a41f --- lib/tokenize.c +++ lib/tokenize.c @@ -37,7 +37,7 @@ tokenize(const char *s) d = dup; for (t = d; *t; ++t) - *t = tolower(*t); + *t = tolower((unsigned char)*t); while ((t = strsep(&d, WDELIMS)) != NULL) { if (*t == '\0')