cmdlgtst: Use NULL instead of casting 0 to a pointer.
Michael Stefaniuc
mstefani at redhat.de
Mon Oct 27 17:07:26 CDT 2008
---
programs/cmdlgtst/cmdlgtst.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/cmdlgtst/cmdlgtst.c b/programs/cmdlgtst/cmdlgtst.c
index eeaf23b..d19c119 100644
--- a/programs/cmdlgtst/cmdlgtst.c
+++ b/programs/cmdlgtst/cmdlgtst.c
@@ -304,9 +304,9 @@ static void paintMainWindow(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lPar
/* now draw a couple of lines, just for giggles. */
- MoveToEx(ps.hdc, rect.left, rect.top, (POINT *) 0);
+ MoveToEx(ps.hdc, rect.left, rect.top, NULL);
LineTo(ps.hdc, rect.right, rect.bottom);
- MoveToEx(ps.hdc, rect.left, rect.bottom, (POINT *) 0);
+ MoveToEx(ps.hdc, rect.left, rect.bottom, NULL);
LineTo(ps.hdc, rect.right, rect.top);
/* draw some text */
--
1.6.0.3
-------------- 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/20081027/ca5d1055/attachment.pgp
More information about the wine-patches
mailing list