Module: wine Branch: master Commit: c9ee551efd6f1f9892d96de2a972b3d6592d2411 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9ee551efd6f1f9892d96de2a9...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jan 8 17:26:38 2009 +0100
mshtml: Fix pointer cast warnings on 64-bit.
---
dlls/mshtml/protocol.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c index 8483600..e5e22da 100644 --- a/dlls/mshtml/protocol.c +++ b/dlls/mshtml/protocol.c @@ -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");