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

This commit is contained in:
Alexandre Julliard 2009-01-03 20:14:18 +01:00
parent 68bd54b558
commit a506c956a8
1 changed files with 1 additions and 1 deletions

View File

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