Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FIX94 committed Mar 9, 2018
1 parent 2170a2f commit e4aec56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ static void gbEmuFileOpen(const char *name)
gbEmuFileIsZip = true;
if(strchr(name,'/') != NULL || strchr(name,'\\') != NULL)
{
char *nPath = name;
const char *nPath = name;
if(strchr(nPath,'/') != NULL)
nPath = (strrchr(nPath,'/')+1);
if(strchr(nPath,'\\') != NULL)
Expand Down

0 comments on commit e4aec56

Please sign in to comment.