Fix printf format warning on Android

This commit is contained in:
Andrew Bettison 2013-12-11 14:35:14 +10:30
parent 81f641b1fe
commit 6e99a3be47

View File

@ -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;
}