[X2Go-Commits] [nx-libs] 315/429: Clipboard.c: print times unsigned

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:56 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 12ed2c635b6979f84832655ffe66171482d80469
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Sat Sep 19 22:15:03 2020 +0200

    Clipboard.c: print times unsigned
    
    there are no negative times...
---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index a4f61ef19..11c6ae013 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1353,7 +1353,7 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X)
     char * t = XGetAtomName(nxagentDisplay, e->target);
     char * s = XGetAtomName(nxagentDisplay, e->selection);
     fprintf(stderr, "%s: SelectionNotify event from real X server, property " \
-            "[%ld][%s] requestor [0x%lx] selection [%s] target [%ld][%s] time [%ld] send_event [%d].\n",
+            "[%ld][%s] requestor [0x%lx] selection [%s] target [%ld][%s] time [%lu] send_event [%d].\n",
             __func__, e->property, validateString(p), e->requestor,
             validateString(s), e->target,
             validateString(t), e->time, e->send_event);
@@ -1709,7 +1709,7 @@ static void setSelectionOwner(Selection *pSelection)
     fprintf(stderr, "%s: lastSelectionOwner.windowPtr [%p] -> [%p] [0x%x] (serverWindow: [0x%x])\n", __func__,
             (void *)lastSelectionOwner[i].windowPtr, (void *)pSelection->pWin,
             nxagentWindow(pSelection->pWin), serverWindow);
-    fprintf(stderr, "%s: lastSelectionOwner.lastTimeChanged [%d]\n", __func__,
+    fprintf(stderr, "%s: lastSelectionOwner.lastTimeChanged [%u]\n", __func__,
             lastSelectionOwner[i].lastTimeChanged);
     #endif
 
@@ -2199,7 +2199,7 @@ Bool nxagentInitClipboard(WindowPtr pWin)
 
   #ifdef NXAGENT_TIMESTAMP
   {
-    fprintf(stderr, "%s: Clipboard init starts at [%ld] ms.\n", __func__,
+    fprintf(stderr, "%s: Clipboard init starts at [%lu] ms.\n", __func__,
             GetTimeInMillis() - startTime);
   }
   #endif
@@ -2367,7 +2367,7 @@ Bool nxagentInitClipboard(WindowPtr pWin)
 
   #ifdef NXAGENT_TIMESTAMP
   {
-    fprintf(stderr, "%s: Clipboard init ends at [%ld] ms.\n", __func__,
+    fprintf(stderr, "%s: Clipboard init ends at [%lu] ms.\n", __func__,
                 GetTimeInMillis() - startTime);
   }
   #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