From 07cb61069ee68d3191fc6067947082b15c4408ca Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 21 Sep 2013 13:50:34 +0200 Subject: Fix gcc warning * isofs/lookup.c (dirscanblock): Cast entry->name into const char * before passing to isonamematch. --- isofs/lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isofs/lookup.c') 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; -- cgit v1.2.3