diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-12 13:25:16 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-12 13:25:16 +0000 |
commit | 4e36ee1b92d6fac155e64172cffca124a4522db5 (patch) | |
tree | 4d6606d7c8bc890ff1513e5191509d033fa3cfe1 | |
parent | 9144c71817411b7e72cc06f9d043a6e0bdb8804a (diff) | |
download | busybox-w32-4e36ee1b92d6fac155e64172cffca124a4522db5.tar.gz busybox-w32-4e36ee1b92d6fac155e64172cffca124a4522db5.tar.bz2 busybox-w32-4e36ee1b92d6fac155e64172cffca124a4522db5.zip |
- fix warning about discarding qualifiers in initialization
git-svn-id: svn://busybox.net/trunk/busybox@16106 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | libbb/run_parts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/run_parts.c b/libbb/run_parts.c index 7bdae5b38..c1a45e3d9 100644 --- a/libbb/run_parts.c +++ b/libbb/run_parts.c | |||
@@ -27,7 +27,7 @@ | |||
27 | */ | 27 | */ |
28 | static int valid_name(const struct dirent *d) | 28 | static int valid_name(const struct dirent *d) |
29 | { | 29 | { |
30 | char *c = d->d_name; | 30 | const char *c = d->d_name; |
31 | 31 | ||
32 | while (*c) { | 32 | while (*c) { |
33 | if (!isalnum(*c) && (*c != '_') && (*c != '-')) { | 33 | if (!isalnum(*c) && (*c != '_') && (*c != '-')) { |