summaryrefslogtreecommitdiff
path: root/common/bouncebuf.c
diff options
context:
space:
mode:
authorVasili Galka <vvv444@gmail.com>2014-08-26 13:45:48 +0300
committerTom Rini <trini@ti.com>2014-09-15 13:32:55 -0400
commit5d69a5d178a1fc3874b8d18e5be3e520f6acaca5 (patch)
tree132b0f4153d5a668f5cac8c44192ea41b57ee57b /common/bouncebuf.c
parent2dd2cde11c80f7f9dd749e0227825533f6ae58a3 (diff)
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>
Diffstat (limited to 'common/bouncebuf.c')
-rw-r--r--common/bouncebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bouncebuf.c b/common/bouncebuf.c
index 9eece6d758..054d9e0302 100644
--- a/common/bouncebuf.c
+++ b/common/bouncebuf.c
@@ -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;
}