mshtml: Remove two superfluous casts.
authorMichael Stefaniuc <mstefani@redhat.de>
Fri, 5 Dec 2008 06:46:08 +0000 (07:46 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 5 Dec 2008 11:36:14 +0000 (12:36 +0100)
dlls/mshtml/nsembed.c
dlls/mshtml/view.c

index 2cddbdfea50143e40f7168166d2037fa560c26cd..923604d05df85c8c51fd721f6b6704393de6cb59 100644 (file)
@@ -94,7 +94,7 @@ static LRESULT WINAPI nsembed_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
         This = *(NSContainer**)lParam;
         SetPropW(hwnd, wszTHIS, This);
     }else {
-        This = (NSContainer*)GetPropW(hwnd, wszTHIS);
+        This = GetPropW(hwnd, wszTHIS);
     }
 
     switch(msg) {
index 6bc5e929ca6f2cc5216d26930ec5f1fbac2f746d..72a4a4005f26d65c2a3370517127d26e158d75c2 100644 (file)
@@ -189,7 +189,7 @@ static LRESULT WINAPI serverwnd_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
         This = *(HTMLDocument**)lParam;
         SetPropW(hwnd, wszTHIS, This);
     }else {
-        This = (HTMLDocument*)GetPropW(hwnd, wszTHIS);
+        This = GetPropW(hwnd, wszTHIS);
     }
 
     switch(msg) {