tree-wide: Fix format specifier warnings for %x

Unfortunately, hex output can only be produced with unsigned types. Some
cases can be fixed by producing the correct type, but a few simply have
to be cast. At least casting makes it explicit.
This commit is contained in:
Jan Janssen
2022-08-30 12:03:33 +02:00
parent 2676befc73
commit 5570a09702
11 changed files with 22 additions and 22 deletions
+4 -1
View File
@@ -148,7 +148,10 @@ static int pattern_split(
}
if (!valid_char(*e))
return log_debug_errno(SYNTHETIC_ERRNO(EBADRQC), "Invalid character 0x%0x in pattern, refusing.", *e);
return log_debug_errno(
SYNTHETIC_ERRNO(EBADRQC),
"Invalid character 0x%0x in pattern, refusing.",
(unsigned) *e);
last_literal = true;