mshtml: RT_HTML is already an INTRESOURCE (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Tue Feb 24 02:35:33 CST 2015


---
 dlls/mshtml/protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index 9988c90..0d822b4 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -643,7 +643,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
         *url_file++ = 0;
     }else {
         url_file = res_type;
-        res_type = MAKEINTRESOURCEW(RT_HTML);
+        res_type = (LPWSTR)RT_HTML;
     }
 
     /* Ignore query and hash parts. */
-- 
1.9.3



More information about the wine-patches mailing list