[X2Go-Commits] [nx-libs] 11/108: Events.c: fix wrong printf format specifiers

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 553b96f0551d660d0700de49da880cf99d9c9168
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Thu Mar 8 22:29:53 2018 +0100

    Events.c: fix wrong printf format specifiers
---
 nx-X11/programs/Xserver/hw/nxagent/Events.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 8fe4e1f..a137609 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -2500,7 +2500,7 @@ FIXME: This can be maybe optimized by consuming the
                        nxagentExposeQueue.exposures[index].remoteRegion, &sum);
 
       #ifdef TEST
-      fprintf(stderr, "nxagentHandleExposeEvent: Added region for window [%ld] to position [%d].\n",
+      fprintf(stderr, "nxagentHandleExposeEvent: Added region for window [%u] to position [%d].\n",
                   nxagentWindow(pWin), index);
       #endif
 
@@ -2520,7 +2520,7 @@ FIXME: This can be maybe optimized by consuming the
               nxagentSplashCount == 1 && X -> xexpose.count == 0)
       {
         #ifdef DEBUG
-        fprintf(stderr, "nxagentHandleExposeEvent: Clearing root tile window id [%ld].\n",
+        fprintf(stderr, "nxagentHandleExposeEvent: Clearing root tile window id [%u].\n",
                     nxagentWindowPriv(nxagentRootTileWindow) -> window);
         #endif
 
@@ -2759,7 +2759,7 @@ int nxagentHandleClientMessageEvent(XEvent *X, enum HandleEventResult *result)
       else
       {
         #ifdef TEST
-        fprintf(stderr, "Events: WM_DELETE_WINDOW arrived Atom = %ld.\n", wmAtom);
+        fprintf(stderr, "Events: WM_DELETE_WINDOW arrived Atom = %u.\n", wmAtom);
         #endif
 
         if (X -> xclient.window == nxagentIconWindow)
@@ -4127,7 +4127,7 @@ void nxagentSynchronizeExpose(void)
       {
         #ifdef TEST
         fprintf(stderr, "nxagentSynchronizeExpose: Going to call miWindowExposures"
-                    " for window [%ld] - rects [%ld].\n", nxagentWindow(pWin),
+                    " for window [%d] - rects [%d].\n", nxagentWindow(pWin),
                         RegionNumRects(nxagentExposeQueueHead.remoteRegion));
         #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