1.1 --- a/src/string.c Sun Oct 23 13:32:16 2022 +0200 1.2 +++ b/src/string.c Sun Oct 23 13:32:46 2022 +0200 1.3 @@ -31,7 +31,6 @@ 1.4 1.5 #include <string.h> 1.6 #include <stdarg.h> 1.7 -#include <stdint.h> 1.8 #include <ctype.h> 1.9 1.10 #ifndef _WIN32 1.11 @@ -529,13 +528,13 @@ 1.12 1.13 void cx_strlower(cxmutstr string) { 1.14 cx_for_n(i, string.length) { 1.15 - string.ptr[i] = tolower(string.ptr[i]); 1.16 + string.ptr[i] = (char) tolower(string.ptr[i]); 1.17 } 1.18 } 1.19 1.20 void cx_strupper(cxmutstr string) { 1.21 cx_for_n(i, string.length) { 1.22 - string.ptr[i] = toupper(string.ptr[i]); 1.23 + string.ptr[i] = (char) toupper(string.ptr[i]); 1.24 } 1.25 } 1.26