diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-25 23:33:08 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:57:15 +0200 |
commit | 434d50853d65d79bd10f742e1f4c6fa4e9f0e3c6 (patch) | |
tree | c4274492e0a8b1f4e215a6d62116bfc039effc0d /etc | |
parent | 5c90f28dbd53da73947bda561f74710c72f207ce (diff) | |
download | nx-libs-434d50853d65d79bd10f742e1f4c6fa4e9f0e3c6.tar.gz nx-libs-434d50853d65d79bd10f742e1f4c6fa4e9f0e3c6.tar.bz2 nx-libs-434d50853d65d79bd10f742e1f4c6fa4e9f0e3c6.zip |
NXdispatch.c, Reconnect.c: fix format specifiers
Fix these warnings with NX_DEBUG_INPUT enabled:
NXdispatch.c: In function ‘Dispatch’:
NXdispatch.c:350:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CARD32’ {aka ‘unsigned int’} [-Wformat=]
fprintf(stderr, "Session: Session started at '%s' timestamp [%lu].\n",
~~^
%u
GetTimeAsString(), GetTimeInMillis());
Reconnect.c: In function ‘nxagentHandleConnectionStates’:
Reconnect.c:303:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CARD32’ {aka ‘unsigned int’} [-Wformat=]
fprintf(stderr, "Session: Session suspended at '%s' timestamp [%lu].\n", GetTimeAsString(), GetTimeInMillis());
~~^ ~~~~~~~~~~~~~~~~~
%u
Reconnect.c: In function ‘nxagentReconnectSession’:
Reconnect.c:673:66: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CARD32’ {aka ‘unsigned int’} [-Wformat=]
fprintf(stderr, "Session: Session resumed at '%s' timestamp [%lu].\n", GetTimeAsString(), GetTimeInMillis());
~~^ ~~~~~~~~~~~~~~~~~
%u
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions