mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
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: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
45cc3521d8
commit
d77b106a57
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user