Mikołaj Zalewski : comctl32: toolbar: Change the dwData from DWORD to DWORD_PTR.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Oct 14 14:13:41 CDT 2006
Module: wine
Branch: master
Commit: 992310e4be3ed089038155c809b3e3c01d2493f1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=992310e4be3ed089038155c809b3e3c01d2493f1
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Sat Oct 14 19:52:46 2006 +0200
comctl32: toolbar: Change the dwData from DWORD to DWORD_PTR.
---
dlls/comctl32/toolbar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 6a70292..5d82a1d 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -96,7 +96,7 @@ typedef struct
BYTE fsStyle;
BYTE bHot;
BYTE bDropDownPressed;
- DWORD dwData;
+ DWORD_PTR dwData;
INT_PTR iString;
INT nRow;
RECT rect;
@@ -272,7 +272,7 @@ static void
TOOLBAR_DumpButton(TOOLBAR_INFO *infoPtr, TBUTTON_INFO *bP, INT btn_num, BOOL internal)
{
if (TRACE_ON(toolbar)){
- TRACE("button %d id %d, bitmap=%d, state=%02x, style=%02x, data=%08x, stringid=0x%08x\n",
+ TRACE("button %d id %d, bitmap=%d, state=%02x, style=%02x, data=%08lx, stringid=0x%08x\n",
btn_num, bP->idCommand, GETIBITMAP(infoPtr, bP->iBitmap),
bP->fsState, bP->fsStyle, bP->dwData, bP->iString);
TRACE("string %s\n", debugstr_w(TOOLBAR_GetText(infoPtr,bP)));
More information about the wine-cvs
mailing list