aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-09-19 22:15:03 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-08 21:16:38 +0200
commit12ed2c635b6979f84832655ffe66171482d80469 (patch)
tree84d2bb031727e80b4b584b291bd85704464b2952 /nx-X11
parent2742fde0043d2690c3c7b22f137679d0b91dac6c (diff)
downloadnx-libs-12ed2c635b6979f84832655ffe66171482d80469.tar.gz
nx-libs-12ed2c635b6979f84832655ffe66171482d80469.tar.bz2
nx-libs-12ed2c635b6979f84832655ffe66171482d80469.zip
Clipboard.c: print times unsigned
there are no negative times...
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c8
1 files 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