summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-09-12 13:25:16 +0000
committerBernhard Reutner-Fischer2006-09-12 13:25:16 +0000
commit428a5cd0d32a3a4badf0a1f62f1126a24723545f (patch)
tree4d6606d7c8bc890ff1513e5191509d033fa3cfe1 /libbb
parent00d7d6cef6419654071ccc77d9b2f212198dab3d (diff)
downloadbusybox-428a5cd0d32a3a4badf0a1f62f1126a24723545f.zip
busybox-428a5cd0d32a3a4badf0a1f62f1126a24723545f.tar.gz
- 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 7bdae5b..c1a45e3 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 != '-')) {