- fix warning about discarding qualifiers in initialization

This commit is contained in:
Bernhard Reutner-Fischer 2006-09-12 13:25:16 +00:00
parent 00d7d6cef6
commit 428a5cd0d3

View File

@ -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 != '-')) {