Commit 832e0281 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXwindow.c: fix some format specifiers

parent 601a5784
...@@ -149,7 +149,7 @@ InitRootWindow(WindowPtr pWin) ...@@ -149,7 +149,7 @@ InitRootWindow(WindowPtr pWin)
if (nxagentOption(Rootless)) if (nxagentOption(Rootless))
{ {
#ifdef TEST #ifdef TEST
fprintf(stderr, "InitRootWindow: Assigned agent root to window at [%p][%ld] with parent [%p].\n", fprintf(stderr, "InitRootWindow: Assigned agent root to window at [%p][%d] with parent [%p].\n",
(void *) pWin, nxagentWindowPriv(pWin)->window, (void *) pWin -> parent); (void *) pWin, nxagentWindowPriv(pWin)->window, (void *) pWin -> parent);
#endif #endif
...@@ -381,13 +381,12 @@ ConfigureWindow(register WindowPtr pWin, register Mask mask, XID *vlist, ClientP ...@@ -381,13 +381,12 @@ ConfigureWindow(register WindowPtr pWin, register Mask mask, XID *vlist, ClientP
#ifdef TEST #ifdef TEST
if (nxagentWindowTopLevel(pWin)) if (nxagentWindowTopLevel(pWin))
{ {
fprintf(stderr, "ConfigureWindow: pWin [%p] mask [%u] client [%p]\n",
fprintf(stderr, "ConfigureWindow: pWin [%p] mask [%lu] client [%p]\n", (void *)pWin, mask, (void *)client);
pWin, mask, client);
fprintf(stderr, "ConfigureWindow: x [%d] y [%d] w [%d] h [%d] CWStackMode [%d] " fprintf(stderr, "ConfigureWindow: x [%d] y [%d] w [%d] h [%d] CWStackMode [%d] "
"smode [%d] pSib [%p]\n", "smode [%d] pSib [%p]\n",
x, y, w, h, (mask & CWStackMode) ? 1 : 0, smode, pSib); x, y, w, h, (mask & CWStackMode) ? 1 : 0, smode, (void *)pSib);
} }
#endif #endif
...@@ -683,7 +682,7 @@ MapWindow(register WindowPtr pWin, ClientPtr client) ...@@ -683,7 +682,7 @@ MapWindow(register WindowPtr pWin, ClientPtr client)
#ifdef TEST #ifdef TEST
if (nxagentWindowTopLevel(pWin)) if (nxagentWindowTopLevel(pWin))
{ {
fprintf(stderr, "MapWindow: pWin [%p] client [%p]\n", pWin, client); fprintf(stderr, "MapWindow: pWin [%p] client [%p]\n", (void *)pWin, (void *)client);
} }
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment