summaryrefslogtreecommitdiffhomepage
path: root/libbb/run_parts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/run_parts.c')
-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 != '-')) {