aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-03-08 22:28:29 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-08-22 15:36:55 +0200
commit2fe89c5bf1ede82097ffcf1a9695b8df21c714ba (patch)
tree171d9439329c4b5b92dedfa69a3f5562289b74b4 /nx-X11/programs/Xserver/hw/nxagent/Events.c
parentf8e76fd69157b6f466b2efc7d41b031d530e873c (diff)
downloadnx-libs-2fe89c5bf1ede82097ffcf1a9695b8df21c714ba.tar.gz
nx-libs-2fe89c5bf1ede82097ffcf1a9695b8df21c714ba.tar.bz2
nx-libs-2fe89c5bf1ede82097ffcf1a9695b8df21c714ba.zip
Events.c: fix compiler warnings
format ‘%p’ expects argument of type ‘void *’
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 23a9182de..8fe4e1ffc 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -1636,7 +1636,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was
#ifdef TEST
fprintf(stderr, "nxagentDispatchEvents: nxagentLastEnteredTopLevelWindow [%p].\n",
- nxagentLastEnteredTopLevelWindow);
+ (void *)nxagentLastEnteredTopLevelWindow);
#endif
}
@@ -4346,7 +4346,7 @@ int nxagentClipAndSendExpose(WindowPtr pWin, void * ptr)
box = *RegionExtents(&pWin -> clipList);
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
RegionIntersect(exposeRgn, remoteExposeRgn, &pWin -> clipList);
@@ -4355,7 +4355,7 @@ int nxagentClipAndSendExpose(WindowPtr pWin, void * ptr)
{
#ifdef DEBUG
fprintf(stderr, "nxagentClipAndSendExpose: Forwarding expose to window at [%p] pWin.\n",
- pWin);
+ (void *)pWin);
#endif
/*