mshtml: Remove two superfluous casts.
Michael Stefaniuc
mstefani at redhat.de
Fri Dec 5 00:46:08 CST 2008
---
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) {
--
1.6.0.rc1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081205/53ff3771/attachment.pgp
More information about the wine-patches
mailing list