Commit a506c956 authored by Alexandre Julliard's avatar Alexandre Julliard

qedit/tests: Fix a pointer casting warning on 64-bit.

parent 68bd54b5
...@@ -44,7 +44,7 @@ static BOOL unpack_avi_file(int id, WCHAR name[MAX_PATH]) ...@@ -44,7 +44,7 @@ static BOOL unpack_avi_file(int id, WCHAR name[MAX_PATH])
DWORD size, written; DWORD size, written;
HANDLE fh; HANDLE fh;
res = FindResourceW(NULL, (LPWSTR) id, (LPWSTR) AVI_RES_TYPE); res = FindResource(NULL, MAKEINTRESOURCE(id), MAKEINTRESOURCE(AVI_RES_TYPE));
if (!res) if (!res)
return FALSE; return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment