From: Bernhard Reutner-Fischer Date: Tue, 12 Sep 2006 13:25:16 +0000 (-0000) Subject: - fix warning about discarding qualifiers in initialization X-Git-Tag: 1_4_0~703 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=428a5cd0d32a3a4badf0a1f62f1126a24723545f;p=oweals%2Fbusybox.git - fix warning about discarding qualifiers in initialization --- 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 != '-')) {