Skip to content
Snippets Groups Projects
Commit 139be2e7 authored by rswindell's avatar rswindell
Browse files

Fixed gcc warning in _splitpath().

parent f71f9457
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ void DLLCALL _splitpath(const char *path, char *drive, char *dir, char *fname, c
if(p==NULL)
p=strrchr(dir,'\\');
if(p==NULL) {
p=path;
p=(char*)path;
dir[0]=0;
} else {
*p=0; /* truncate dir */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment