diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-03-28 21:32:36 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-03-28 21:44:05 +0100 |
commit | 6785c933e83b1881b15e41115740a6cc066f4512 (patch) | |
tree | 70d5ac75d63b3e05b33b72c8a0f40382d32679b8 /nx-X11/programs/Xserver/hw | |
parent | ade8d6123c27866525fc7f7d4327e10af0d2d01a (diff) | |
download | nx-libs-6785c933e83b1881b15e41115740a6cc066f4512.tar.gz nx-libs-6785c933e83b1881b15e41115740a6cc066f4512.tar.bz2 nx-libs-6785c933e83b1881b15e41115740a6cc066f4512.zip |
Screen.c, Pixmap.c: silence some compiler warnings
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Pixmap.c | 6 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c index 5f22640b6..f7be2207d 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c @@ -611,7 +611,7 @@ int nxagentDestroyNewPixmapResourceType(void * p, XID id) */ #ifdef TEST - fprintf(stderr, "nxagentDestroyNewPixmapResourceType: Destroying mirror id [%ld] for pixmap at [%p].\n", + fprintf(stderr, "nxagentDestroyNewPixmapResourceType: Destroying mirror id [%u] for pixmap at [%p].\n", nxagentPixmapPriv((PixmapPtr) p) -> mid, (void *) p); #endif @@ -630,7 +630,7 @@ void nxagentDisconnectPixmap(void *p0, XID x1, void *p2) fprintf(stderr, "nxagentDisconnectPixmap: Called with bool [%d] and pixmap at [%p].\n", *pBool, (void *) pPixmap); - fprintf(stderr, "nxagentDisconnectPixmap: Virtual pixmap is [%ld].\n", + fprintf(stderr, "nxagentDisconnectPixmap: Virtual pixmap is [%u].\n", nxagentPixmap(pPixmap)); #endif @@ -757,7 +757,7 @@ void nxagentReconnectPixmap(void *p0, XID x1, void *p2) nxagentPixmap(pPixmapPriv -> pVirtualPixmap) = pPixmapPriv -> id; #ifdef TEST - fprintf(stderr, "nxagentReconnectPixmap: Created virtual pixmap with id [%ld] for pixmap at [%p].\n", + fprintf(stderr, "nxagentReconnectPixmap: Created virtual pixmap with id [%u] for pixmap at [%p].\n", nxagentPixmap(pPixmap), (void *) pPixmap); #endif diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index b78bff37f..2d4afda14 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -303,7 +303,8 @@ Bool nxagentIsParentOf(Display *d, XlibWindow possible_parent, XlibWindow candid SAFE_XFree(children); #ifdef TEST - fprintf(stderr, "%s: parent of full screen window [%p] root [%p] possible_parent [%p] candidate [%p]\n", __func__, parent, root, possible_parent, candidate); + fprintf(stderr, "%s: parent of full screen window [%p] root [%p] possible_parent [%p] candidate [%p]\n", + __func__, (void *)parent, (void *)root, (void *)possible_parent, (void *)candidate); #endif return (parent == possible_parent); } @@ -3825,7 +3826,7 @@ void nxagentDropOutput(RROutputPtr o) if (c->outputs[i] == o) { #ifdef DEBUG - fprintf(stderr, "%s: output [%s] is in use by crtc [%p], removing it from there\n", __func__, o->name, c); + fprintf(stderr, "%s: output [%s] is in use by crtc [%p], removing it from there\n", __func__, o->name, (void *)c); #endif RRCrtcSet(c, NULL, 0, 0, RR_Rotate_0, 0, NULL); } |