Timo Kreuzer : comctl32: Change UINT to UINT_PTR in CreateToolbarEx.

Alexandre Julliard julliard at winehq.org
Thu Apr 30 11:01:11 CDT 2009


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

Author: Timo Kreuzer <timo.kreuzer at web.de>
Date:   Wed Apr 29 12:39:56 2009 -0400

comctl32: Change UINT to UINT_PTR in CreateToolbarEx.

---

 dlls/comctl32/commctrl.c |    2 +-
 include/commctrl.h       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 782d9b9..db0eade 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -772,7 +772,7 @@ InitCommonControlsEx (const INITCOMMONCONTROLSEX *lpInitCtrls)
 
 HWND WINAPI
 CreateToolbarEx (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
-                 HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons,
+                 HINSTANCE hBMInst, UINT_PTR wBMID, LPCTBBUTTON lpButtons,
                  INT iNumButtons, INT dxButton, INT dyButton,
                  INT dxBitmap, INT dyBitmap, UINT uStructSize)
 {
diff --git a/include/commctrl.h b/include/commctrl.h
index 4727e3e..a65c9ac 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -1599,7 +1599,7 @@ CreateToolbar(HWND, DWORD, UINT, INT, HINSTANCE,
 
 HWND WINAPI
 CreateToolbarEx(HWND, DWORD, UINT, INT,
-                HINSTANCE, UINT, LPCTBBUTTON,
+                HINSTANCE, UINT_PTR, LPCTBBUTTON,
                 INT, INT, INT, INT, INT, UINT);
 
 HBITMAP WINAPI




More information about the wine-cvs mailing list