From 428a5cd0d32a3a4badf0a1f62f1126a24723545f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 12 Sep 2006 13:25:16 +0000 Subject: [PATCH] - fix warning about discarding qualifiers in initialization --- libbb/run_parts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != '-')) { -- 2.25.1