diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-10-15 21:41:03 +0200 |
---|---|---|
committer | Ulrich Sibiller <u.sibiller@science-computing.de> | 2016-10-20 10:16:35 +0200 |
commit | 3c5621c37064958a96707df2f2fb831f21a2f97e (patch) | |
tree | 1ce3a6ebda16ae9f892d7a4e381add7319008d68 /nx-X11/programs/Xserver | |
parent | e3c9bc3926213139dce3a22109822a821d031c80 (diff) | |
download | nx-libs-3c5621c37064958a96707df2f2fb831f21a2f97e.tar.gz nx-libs-3c5621c37064958a96707df2f2fb831f21a2f97e.tar.bz2 nx-libs-3c5621c37064958a96707df2f2fb831f21a2f97e.zip |
Args.c: fix string format warning
warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long int’ [-Wformat=]
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Args.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c index 1c93bbbe5..7d256f5c5 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c @@ -1447,7 +1447,7 @@ static void nxagentParseOptions(char *name, char *value) tolerance_parse = UINT_MAX; fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of option [%s] " - "out of range, clamped to [%u].\n", + "out of range, clamped to [%lu].\n", validateString(value), validateString(name), tolerance_parse); } @@ -1456,7 +1456,7 @@ static void nxagentParseOptions(char *name, char *value) tolerance_parse = 0; fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of option [%s] " - "out of range, clamped to [%u].\n", + "out of range, clamped to [%lu].\n", validateString(value), validateString(name), tolerance_parse); } |