fixed exeman.c:580: warning: passing arg 1 of `wwmatch' discards qualifiers from pointer target type
This commit is contained in:
2
exeman.c
2
exeman.c
@ -577,7 +577,7 @@ static void searchDir(char *pPath, char *pattern, pDynString result){
|
||||
}
|
||||
currentFile = readdir(currentdir);
|
||||
while(currentFile != NULL){
|
||||
if(wwmatch((const char *)pattern, currentFile->d_name)){
|
||||
if(wwmatch(pattern, currentFile->d_name)){
|
||||
DynStringConcat(result,currentFile->d_name);
|
||||
DynStringConcatChar(result,'\n');
|
||||
}
|
||||
|
Reference in New Issue
Block a user