From dd9b90d69d3bc64b7385dd5fef9a01cb4aeb0652 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 22 Oct 2022 21:16:51 +0200 Subject: [PATCH] compilation fix :) --- libs/libc/src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/src/strings.cpp b/libs/libc/src/strings.cpp index 5dee123f..7c27a9ba 100644 --- a/libs/libc/src/strings.cpp +++ b/libs/libc/src/strings.cpp @@ -4,7 +4,7 @@ static char fold(char c) { - if (isalpha(c)) return tolower(c); + if (isalpha(c)) return (char)tolower(c); return c; }