diff options
Diffstat (limited to 'src/libstddjb/case_lowerb.c')
-rw-r--r-- | src/libstddjb/case_lowerb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstddjb/case_lowerb.c b/src/libstddjb/case_lowerb.c index 9f51ed5..1285b52 100644 --- a/src/libstddjb/case_lowerb.c +++ b/src/libstddjb/case_lowerb.c @@ -1,10 +1,11 @@ /* ISC license. */ +#include <sys/types.h> #include <skalibs/bytestr.h> -void case_lowerb (register char *s, unsigned int len) +void case_lowerb (register char *s, size_t len) { - register unsigned char const d = 'a' - 'A' ; + unsigned char const d = 'a' - 'A' ; while (len--) { if (('A' <= *s) && (*s <= 'Z')) *s += d ; |