mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
Fix a few printf argument verification warnings
The parameters of size_t type shall be formatted using "%zu" and not using "%d". Precision argument for the "%.*s" parameters shall be of int type. Signed-off-by: Vasili Galka <vvv444@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ static int addr_aligned(struct bounce_buffer *state)
|
||||
|
||||
/* Check if length is aligned */
|
||||
if (state->len != state->len_aligned) {
|
||||
debug("Unaligned buffer length %d\n", state->len);
|
||||
debug("Unaligned buffer length %zu\n", state->len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user