qedit/tests: Fix a pointer casting warning on 64-bit.
This commit is contained in:
parent
68bd54b558
commit
a506c956a8
|
@ -44,7 +44,7 @@ static BOOL unpack_avi_file(int id, WCHAR name[MAX_PATH])
|
|||
DWORD size, written;
|
||||
HANDLE fh;
|
||||
|
||||
res = FindResourceW(NULL, (LPWSTR) id, (LPWSTR) AVI_RES_TYPE);
|
||||
res = FindResource(NULL, MAKEINTRESOURCE(id), MAKEINTRESOURCE(AVI_RES_TYPE));
|
||||
if (!res)
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue