Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-09-12 17:25:16 +0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-09-12 17:25:16 +0400
commit428a5cd0d32a3a4badf0a1f62f1126a24723545f (patch)
tree4d6606d7c8bc890ff1513e5191509d033fa3cfe1 /libbb
parent00d7d6cef6419654071ccc77d9b2f212198dab3d (diff)
- fix warning about discarding qualifiers in initialization
Diffstat (limited to 'libbb')
-rw-r--r--libbb/run_parts.c2
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 != '-')) {