From c366e0cc25c40878110868a94b0c06500516368b Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 10 Mar 2011 10:21:13 -0800 Subject: [PATCH] reconnect: Fix printf() format warning. tests/test-reconnect.c:245:9: error: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'unsigned int' --- tests/test-reconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-reconnect.c b/tests/test-reconnect.c index 2d654ff8a..a519d3524 100644 --- a/tests/test-reconnect.c +++ b/tests/test-reconnect.c @@ -242,7 +242,7 @@ diff_stats(const struct reconnect_stats *old, new->last_disconnected, new->current_disconnect_duration); } if (old->current_disconnect_duration != new->current_disconnect_duration) { - printf(" disconnected for %llu ms\n", new->current_disconnect_duration); + printf(" disconnected for %u ms\n", new->current_disconnect_duration); } } -- 2.45.2