Andrew Talbot : comctl32: Cast-qual warning fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 20 06:02:26 CDT 2007
Module: wine
Branch: master
Commit: 8dac319a12700d1c8e02efda73dbd66d0dd864e4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8dac319a12700d1c8e02efda73dbd66d0dd864e4
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Thu Jul 19 19:42:22 2007 +0100
comctl32: Cast-qual warning fix.
---
dlls/comctl32/commctrl.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 5d75d79..086d0ed 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -1531,7 +1531,9 @@ LRESULT WINAPI SetPathWordBreakProc(HWND hwnd, BOOL bSet)
int WINAPI DrawShadowText(HDC hdc, LPCWSTR pszText, UINT cch, const RECT *pRect, DWORD dwFlags,
COLORREF crText, COLORREF crShadow, int ixOffset, int iyOffset)
{
+ RECT rect = *pRect;
+
FIXME("(%p, %s, %d, %p, %d, 0x%08x, 0x%08x, %d, %d): stub\n", hdc, debugstr_w(pszText), cch, pRect, dwFlags,
crText, crShadow, ixOffset, iyOffset);
- return DrawTextW(hdc, pszText, cch, (LPRECT)pRect, DT_LEFT);
+ return DrawTextW(hdc, pszText, cch, &rect, DT_LEFT);
}
More information about the wine-cvs
mailing list