Michael Stefaniuc : mshtml: Remove two superfluous casts.
Alexandre Julliard
julliard at winehq.org
Fri Dec 5 07:42:55 CST 2008
Module: wine
Branch: master
Commit: 27d8b7436f728ee19a570ff976e530cf34394776
URL: http://source.winehq.org/git/wine.git/?a=commit;h=27d8b7436f728ee19a570ff976e530cf34394776
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri Dec 5 07:46:08 2008 +0100
mshtml: Remove two superfluous casts.
---
dlls/mshtml/nsembed.c | 2 +-
dlls/mshtml/view.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 2cddbdf..923604d 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -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) {
diff --git a/dlls/mshtml/view.c b/dlls/mshtml/view.c
index 6bc5e92..72a4a40 100644
--- a/dlls/mshtml/view.c
+++ b/dlls/mshtml/view.c
@@ -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) {
More information about the wine-cvs
mailing list