http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88554d
)
mshtml: Fix pointer cast warnings on 64-bit.
author
Alexandre Julliard
<julliard@winehq.org>
Thu, 8 Jan 2009 16:26:38 +0000
(17:26 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 8 Jan 2009 16:26:38 +0000
(17:26 +0100)
dlls/mshtml/protocol.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/mshtml/protocol.c
b/dlls/mshtml/protocol.c
index 84836006c4276e7243dac24805901ee569d426bd..e5e22daaeaf38123f12212a233190b9a9638ba31 100644
(file)
--- 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");