[warnings] fix type mismatches

This commit is contained in:
Armin Novak
2025-08-18 14:32:14 +02:00
parent 651de64c88
commit 124e2adafe
2 changed files with 3 additions and 2 deletions

View File

@@ -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;