misc: Fix const correctness issue in M_BaseName
This commit is contained in:
parent
921666f704
commit
3166cfd54c
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ char *M_DirName(const char *path)
|
|||
// allocated.
|
||||
const char *M_BaseName(const char *path)
|
||||
{
|
||||
char *p;
|
||||
const char *p;
|
||||
|
||||
p = strrchr(path, DIR_SEPARATOR);
|
||||
if (p == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue