aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-10-22 22:01:16 +0200
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:37:35 +0100
commite0e602cf13366bf496148a340b682e19c9acdf2d (patch)
treef1b70529d40f74a9ebcb8e2bd0bae1515991b220 /nx-X11/programs/Xserver
parent9d1a12134b3c8d7fc5c1cfbc40698c1db383b390 (diff)
downloadnx-libs-e0e602cf13366bf496148a340b682e19c9acdf2d.tar.gz
nx-libs-e0e602cf13366bf496148a340b682e19c9acdf2d.tar.bz2
nx-libs-e0e602cf13366bf496148a340b682e19c9acdf2d.zip
GC.c: fix format specifiers and parameters
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/GC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/GC.c b/nx-X11/programs/Xserver/hw/nxagent/GC.c
index 2c2613419..4c852bd14 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/GC.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/GC.c
@@ -469,7 +469,7 @@ void nxagentCopyGC(GCPtr pGCSrc, unsigned long mask, GCPtr pGCDst)
{
#ifdef TEST
fprintf(stderr, "nxagentCopyGC: Copying the GC with source at [%p] destination "
- "at [%p] mask [%lu].\n", pGCSrc, pGCDst, mask);
+ "at [%p] mask [%lu].\n", (void *)pGCSrc, (void *)pGCDst, mask);
#endif
/*
@@ -888,7 +888,7 @@ int nxagentDestroyNewGCResourceType(void * p, XID id)
*/
#ifdef TEST
- fprintf(stderr, "nxagentDestroyNewGCResourceType: Destroying mirror id [%ld] for GC at [%p].\n",
+ fprintf(stderr, "nxagentDestroyNewGCResourceType: Destroying mirror id [%u] for GC at [%p].\n",
nxagentGCPriv((GCPtr) p) -> mid, (void *) p);
#endif