Commit d77b106a authored by Niklas Cassel's avatar Niklas Cassel Committed by Bjorn Andersson
Browse files

qdl: use correct printf modifier for size_t

printf uses z modifier to print size_t.

Also change d modifier to u, since size_t is unsigned.
(ssize_t is the signed version.)

Fixes build warning on 32-bit systems, e.g. ARMv7.

Signed-off-by: default avatarNiklas Cassel <>
Signed-off-by: default avatarBjorn Andersson <>
parent 45cc3521
......@@ -310,7 +310,7 @@ static int firehose_configure(int fd, bool skip_storage_init)
if (qdl_debug) {
fprintf(stderr, "[CONFIGURE] max payload size: %ld\n",
fprintf(stderr, "[CONFIGURE] max payload size: %zu\n",
Supports Markdown
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