Commit 3c5621c3 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Ulrich Sibiller

Args.c: fix string format warning

warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long int’ [-Wformat=]
parent e3c9bc39
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment