mirror of https://github.com/FreeRDP/FreeRDP
Fixed missing const.
This commit is contained in:
parent
dab842cfb5
commit
d7d5567891
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue