Fixed missing const.

This commit is contained in:
Armin Novak 2018-08-23 13:08:52 +02:00
parent dab842cfb5
commit d7d5567891
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ HANDLE FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData)
{
if (isDir)
{
char* name = strrchr(lpFileName, '/');
const char* name = strrchr(lpFileName, '/');
if (!name)
name = lpFileName;