[X2Go-Commits] [nx-libs] 10/108: Events.c: fix compiler warnings
git-admin at x2go.org
git-admin at x2go.org
Fri Nov 9 20:35:33 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 2fe89c5bf1ede82097ffcf1a9695b8df21c714ba
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu Mar 8 22:28:29 2018 +0100
Events.c: fix compiler warnings
format ‘%p’ expects argument of type ‘void *’
---
nx-X11/programs/Xserver/hw/nxagent/Events.c | 6 +++---
1 file 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 23a9182..8fe4e1f 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
/*
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list