Module: wine Branch: master Commit: 42e612fd7858eed8a30af1d1dfc9be5c99a7cb98 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42e612fd7858eed8a30af1d1df...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Oct 27 23:07:26 2008 +0100
cmdlgtst: Use NULL instead of casting 0 to a pointer.
---
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 */