Commit 2fe89c5b authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Events.c: fix compiler warnings

format ‘%p’ expects argument of type ‘void *’
parent f8e76fd6
...@@ -1636,7 +1636,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was ...@@ -1636,7 +1636,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentDispatchEvents: nxagentLastEnteredTopLevelWindow [%p].\n", fprintf(stderr, "nxagentDispatchEvents: nxagentLastEnteredTopLevelWindow [%p].\n",
nxagentLastEnteredTopLevelWindow); (void *)nxagentLastEnteredTopLevelWindow);
#endif #endif
} }
...@@ -4346,7 +4346,7 @@ int nxagentClipAndSendExpose(WindowPtr pWin, void * ptr) ...@@ -4346,7 +4346,7 @@ int nxagentClipAndSendExpose(WindowPtr pWin, void * ptr)
box = *RegionExtents(&pWin -> clipList); box = *RegionExtents(&pWin -> clipList);
fprintf(stderr, "nxagentClipAndSendExpose: Clip list extents for window at [%p]: [%d] [%d] [%d] [%d].\n", fprintf(stderr, "nxagentClipAndSendExpose: Clip list extents for window at [%p]: [%d] [%d] [%d] [%d].\n",
pWin, box.x1, box.y1, box.x2, box.y2); (void *)pWin, box.x1, box.y1, box.x2, box.y2);
#endif #endif
RegionIntersect(exposeRgn, remoteExposeRgn, &pWin -> clipList); RegionIntersect(exposeRgn, remoteExposeRgn, &pWin -> clipList);
...@@ -4355,7 +4355,7 @@ int nxagentClipAndSendExpose(WindowPtr pWin, void * ptr) ...@@ -4355,7 +4355,7 @@ int nxagentClipAndSendExpose(WindowPtr pWin, void * ptr)
{ {
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "nxagentClipAndSendExpose: Forwarding expose to window at [%p] pWin.\n", fprintf(stderr, "nxagentClipAndSendExpose: Forwarding expose to window at [%p] pWin.\n",
pWin); (void *)pWin);
#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