From 992310e4be3ed089038155c809b3e3c01d2493f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miko=C5=82aj=20Zalewski?= Date: Sat, 14 Oct 2006 19:52:46 +0200 Subject: [PATCH] comctl32: toolbar: Change the dwData from DWORD to DWORD_PTR. --- dlls/comctl32/toolbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index 6a702927422..5d82a1df8c7 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))); -- 2.11.4.GIT