summaryrefslogtreecommitdiff
path: root/isofs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 13:50:34 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 13:50:34 +0200
commit07cb61069ee68d3191fc6067947082b15c4408ca (patch)
treeb9349e3c5065635b44859b141478b71e324cf343 /isofs
parentbad88e5d4bc1d8223d96c7225752a70c6b023768 (diff)
Fix gcc warning
* isofs/lookup.c (dirscanblock): Cast entry->name into const char * before passing to isonamematch.
Diffstat (limited to 'isofs')
-rw-r--r--isofs/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/lookup.c b/isofs/lookup.c
index 2ff30496..b5b814db 100644
--- a/isofs/lookup.c
+++ b/isofs/lookup.c
@@ -184,7 +184,7 @@ dirscanblock (void *blkaddr, const char *name, size_t namelen,
break;
/* Check to see if the name matches the directory entry. */
- if (isonamematch (entry->name, entry_namelen, name, namelen))
+ if (isonamematch ((const char *) entry->name, entry_namelen, name, namelen))
matchnormal = 1;
else
matchnormal = 0;