commit 7127e4d2d03c76582b8140db3b86169966786adc parent 96c513c259241630f8397815acfc4da6fcb57237 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Thu, 23 Feb 2017 13:43:06 +0100 [libc] Fix toupper() Diffstat:
M | libc/src/toupper.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/src/toupper.c b/libc/src/toupper.c @@ -7,5 +7,5 @@ int toupper(int c) { - return (islower(c)) ? c & 0x20 : c; + return (islower(c)) ? c | 0x20 : c; }