From 6e99a3be473ad8a6905f09e1bc20fa929509be70 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Wed, 11 Dec 2013 14:35:14 +1030 Subject: [PATCH] Fix printf format warning on Android --- overlay_mdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay_mdp.c b/overlay_mdp.c index bb5726fe..eae40e67 100644 --- a/overlay_mdp.c +++ b/overlay_mdp.c @@ -1494,7 +1494,7 @@ static void mdp_poll2(struct sched_ent *alarm) return; } if ((size_t)len < sizeof header) { - WHYF("Expected length %zu, got %zu from %s", sizeof header, len, alloca_socket_address(&client)); + WHYF("Expected length %zu, got %zu from %s", sizeof header, (size_t)len, alloca_socket_address(&client)); return; }