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 <niklas.cassel@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
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",
max_payload_size);
}
......
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