]> git.hungrycats.org Git - linux/commitdiff
kbuild: Fix tolower() usage in scripts/fixdep.c
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Wed, 5 Jun 2002 15:06:25 +0000 (10:06 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Wed, 5 Jun 2002 15:06:25 +0000 (10:06 -0500)
Not that it matters, since it's only used with 7bit chars, but
anyway.

scripts/fixdep.c

index 07c927c58f3f320c712b1c6ad76ed29526a6197e..4a42364ab18af49a34b9bf6bc5bf6c5da2e86732 100644 (file)
@@ -214,7 +214,7 @@ void use_config(char *m, int slen)
                if (*p == '_')
                        *p = '/';
                else
-                       *p = tolower(*p);
+                       *p = tolower((unsigned char)*p);
        }
        printf("    $(wildcard %s/include/config/%s.h) \\\n", topdir, s);
 }