mshtml: Fix pointer cast warnings on 64-bit.

This commit is contained in:
Alexandre Julliard 2009-01-08 17:26:38 +01:00
parent b88554d22f
commit c9ee551efd
1 changed files with 1 additions and 1 deletions

View File

@ -647,7 +647,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
LPWSTR endpoint = NULL;
DWORD file_id = strtolW(url_file, &endpoint, 10);
if(endpoint == url_file+strlenW(url_file))
src = FindResourceW(hdll, (LPCWSTR)file_id, (LPCWSTR)RT_HTML);
src = FindResourceW(hdll, MAKEINTRESOURCEW(file_id), MAKEINTRESOURCEW(RT_HTML));
if(!src) {
WARN("Could not find resource\n");