diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-09-12 17:25:16 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-09-12 17:25:16 +0400 |
commit | 428a5cd0d32a3a4badf0a1f62f1126a24723545f (patch) | |
tree | 4d6606d7c8bc890ff1513e5191509d033fa3cfe1 /libbb | |
parent | 00d7d6cef6419654071ccc77d9b2f212198dab3d (diff) |
- fix warning about discarding qualifiers in initialization
Diffstat (limited to 'libbb')
-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 @@ */ static int valid_name(const struct dirent *d) { - char *c = d->d_name; + const char *c = d->d_name; while (*c) { if (!isalnum(*c) && (*c != '_') && (*c != '-')) { |