Commit c9ee551e authored by Alexandre Julliard's avatar Alexandre Julliard

mshtml: Fix pointer cast warnings on 64-bit.

parent b88554d2
......@@ -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");
......
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