mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] fix type mismatches
This commit is contained in:
@@ -1358,7 +1358,7 @@ HANDLE winpr_CreateFile(LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareM
|
||||
LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition,
|
||||
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
|
||||
{
|
||||
char* filename = ConvertUtf8ToWCharAlloc(lpFileName, NULL);
|
||||
WCHAR* filename = ConvertUtf8ToWCharAlloc(lpFileName, NULL);
|
||||
if (!filename)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user