Alexandre Julliard : winecfg: Fix a pointer cast warning.

Alexandre Julliard julliard at winehq.org
Wed Sep 1 11:08:56 CDT 2010


Module: wine
Branch: master
Commit: 92edc06e16f666a343d50b1e9dafbdff2d9f07c5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=92edc06e16f666a343d50b1e9dafbdff2d9f07c5

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Sep  1 13:03:28 2010 +0200

winecfg: Fix a pointer cast warning.

---

 programs/winecfg/about.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winecfg/about.c b/programs/winecfg/about.c
index d6b2a7d..650603a 100644
--- a/programs/winecfg/about.c
+++ b/programs/winecfg/about.c
@@ -170,7 +170,7 @@ AboutDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
             SetTextColor((HDC)wParam, 0x0000007F);
         case IDC_ABT_PANEL_TEXT:
         case IDC_ABT_LICENSE_TEXT:
-            return (BOOL)CreateSolidBrush(GetSysColor(COLOR_WINDOW));
+            return (INT_PTR)CreateSolidBrush(GetSysColor(COLOR_WINDOW));
         }
         break;
     }




More information about the wine-cvs mailing list