xwin: Fix format warnings when ./configured --enable-debug --enable-windowswm
Fix format warnings (mainly pointer format fixes) which show up when ./configured --enable-debug --enable-windowswm Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
b4ac7b142f
commit
9dc32746f2
|
@ -541,7 +541,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
|||
|
||||
if (pRLNextWinPriv == NULL) {
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
winDebug("Win %08x is top\n", pRLWinPriv);
|
||||
winDebug("Win %p is top\n", pRLWinPriv);
|
||||
#endif
|
||||
pScreenPriv->widTop = wid;
|
||||
SetWindowPos(pRLWinPriv->hWnd, HWND_TOP,
|
||||
|
@ -550,7 +550,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
|||
else if (winIsInternalWMRunning(pScreenInfo)) {
|
||||
/* using mulwinidow wm */
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
winDebug("Win %08x is not top\n", pRLWinPriv);
|
||||
winDebug("Win %p is not top\n", pRLWinPriv);
|
||||
#endif
|
||||
for (hWnd = GetNextWindow(pRLWinPriv->hWnd, GW_HWNDPREV);
|
||||
fNeedRestack && hWnd != NULL;
|
||||
|
@ -563,7 +563,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
|||
/* Enable interleave X window and Windows window */
|
||||
if (!fFirst) {
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
winDebug("raise: Insert after Win %08x\n",
|
||||
winDebug("raise: Insert after Win %p\n",
|
||||
pRLNextWinPriv);
|
||||
#endif
|
||||
SetWindowPos(pRLWinPriv->hWnd, pRLNextWinPriv->hWnd,
|
||||
|
@ -592,7 +592,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
|||
&& GetProp(hWnd, WIN_WINDOW_PROP)) {
|
||||
if (hWnd == pRLNextWinPriv->hWnd) {
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
winDebug("lower: Insert after Win %08x\n", pRLNextWinPriv);
|
||||
winDebug("lower: Insert after Win %p\n", pRLNextWinPriv);
|
||||
#endif
|
||||
SetWindowPos(pRLWinPriv->hWnd, pRLNextWinPriv->hWnd,
|
||||
0, 0, 0, 0,
|
||||
|
|
|
@ -402,7 +402,7 @@ winMWExtWMRestackWindows(ScreenPtr pScreen)
|
|||
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
winDebug
|
||||
("winMWExtWMRestackWindows - DeferWindowPos (%08x, %08x)\n",
|
||||
("winMWExtWMRestackWindows - DeferWindowPos (%p, %p)\n",
|
||||
pRLWin->hWnd, pRLWinPrev ? pRLWinPrev->hWnd : HWND_TOP);
|
||||
#endif
|
||||
hWinPosInfo = DeferWindowPos(hWinPosInfo, pRLWin->hWnd,
|
||||
|
|
|
@ -417,12 +417,12 @@ winMWExtWMWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
winDebugWin32Message("winMWExtWMWindowProc", hwnd, message, wParam,
|
||||
lParam);
|
||||
|
||||
winDebug("\thWnd %08X\n", hwnd);
|
||||
winDebug("\tpScreenPriv %08X\n", pScreenPriv);
|
||||
winDebug("\tpScreenInfo %08X\n", pScreenInfo);
|
||||
winDebug("\thwndScreen %08X\n", hwndScreen);
|
||||
winDebug("winMWExtWMWindowProc (%08x) %08x %08x %08x\n",
|
||||
pRLWinPriv, message, wParam, lParam);
|
||||
winDebug("\thWnd %p\n", hwnd);
|
||||
winDebug("\tpScreenPriv %p\n", pScreenPriv);
|
||||
winDebug("\tpScreenInfo %p\n", pScreenInfo);
|
||||
winDebug("\thwndScreen %p\n", hwndScreen);
|
||||
winDebug("winMWExtWMWindowProc (%p) %08x %08x %08x\n",
|
||||
pRLWinPriv, message, (int)wParam, (int)lParam);
|
||||
#endif
|
||||
}
|
||||
/* Branch on message type */
|
||||
|
|
|
@ -312,7 +312,7 @@ ProcWindowsWMFrameGetRect(ClientPtr client)
|
|||
REQUEST(xWindowsWMFrameGetRectReq);
|
||||
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
ErrorF("ProcWindowsWMFrameGetRect %d %d\n",
|
||||
ErrorF("ProcWindowsWMFrameGetRect %zu %d\n",
|
||||
(sizeof(xWindowsWMFrameGetRectReq) >> 2), (int) client->req_len);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user