cleanup
[rpikern] / src / libc / ctype.c
index 9676441..f720566 100644 (file)
@@ -52,5 +52,5 @@ int toupper(int c)
 
 int tolower(int c)
 {
-       return isupper(c) ? (c + ('A' - 'a')) : c;
+       return isupper(c) ? (c - ('A' - 'a')) : c;
 }