diff --git a/dlls/comctl32/draglist.c b/dlls/comctl32/draglist.c index 6ebc9ad4d90..e70282fb9eb 100644 --- a/dlls/comctl32/draglist.c +++ b/dlls/comctl32/draglist.c @@ -37,7 +37,7 @@ VOID WINAPI DrawInsert (HWND32 hwndParent, HWND32 hwndLB, INT32 nItem) INT32 WINAPI LBItemFromPt (HWND32 hwndLB, POINT32 pt, BOOL32 bAutoScroll) { - FIXME (commctrl, "(0x%x %dx %d %s)\n", + FIXME (commctrl, "(0x%x %ld x %ld %s)\n", hwndLB, pt.x, pt.y, bAutoScroll ? "TRUE" : "FALSE"); diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c index 9d077a93489..f04d1c74361 100644 --- a/dlls/comctl32/tooltips.c +++ b/dlls/comctl32/tooltips.c @@ -1421,7 +1421,7 @@ TOOLTIPS_RelayEvent (WND *wndPtr, WPARAM32 wParam, LPARAM lParam) infoPtr->nTool = TOOLTIPS_GetToolFromPoint (infoPtr, lpMsg->hwnd, &pt); TRACE (tooltips, "tool (%x) %d %d\n", wndPtr->hwndSelf, infoPtr->nOldTool, infoPtr->nTool); - TRACE (tooltips, "WM_MOUSEMOVE (%04x %d %d)\n", + TRACE (tooltips, "WM_MOUSEMOVE (%04x %ld %ld)\n", wndPtr->hwndSelf, pt.x, pt.y); if ((infoPtr->bActive) && (infoPtr->nTool != infoPtr->nOldTool)) { if (infoPtr->nOldTool == -1) { diff --git a/misc/version.c b/misc/version.c index 92d1f15a48a..2039e405e1c 100644 --- a/misc/version.c +++ b/misc/version.c @@ -151,9 +151,10 @@ WINDOWS_VERSION VERSION_GetVersion(void) if (peheader->OptionalHeader.MinorSubsystemVersion == 50) return NT351; if (peheader->OptionalHeader.MinorSubsystemVersion == 51) return NT351; } - ERR(ver,"unknown subsystem version: %04x.%04x, please report.\n", - peheader->OptionalHeader.MajorSubsystemVersion, - peheader->OptionalHeader.MinorSubsystemVersion ); + if (peheader->OptionalHeader.MajorSubsystemVersion) + ERR(ver,"unknown subsystem version: %04x.%04x, please report.\n", + peheader->OptionalHeader.MajorSubsystemVersion, + peheader->OptionalHeader.MinorSubsystemVersion ); return defaultWinVersion; } diff --git a/windows/winpos.c b/windows/winpos.c index 96d5a3ad576..94ad23a7185 100644 --- a/windows/winpos.c +++ b/windows/winpos.c @@ -1034,7 +1034,7 @@ void WINPOS_GetMinMaxInfo( WND *wndPtr, POINT32 *maxSize, POINT32 *maxPos, /* Some sanity checks */ - TRACE(win,"%d %d / %d %d / %d %d / %d %d\n", + TRACE(win,"%ld %ld / %ld %ld / %ld %ld / %ld %ld\n", MinMax.ptMaxSize.x, MinMax.ptMaxSize.y, MinMax.ptMaxPosition.x, MinMax.ptMaxPosition.y, MinMax.ptMaxTrackSize.x, MinMax.ptMaxTrackSize.y,