From: Ethan Jackson Date: Thu, 10 Mar 2011 18:21:13 +0000 (-0800) Subject: reconnect: Fix printf() format warning. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c366e0cc25c40878110868a94b0c06500516368b;p=openvswitch 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' --- diff --git a/tests/test-reconnect.c b/tests/test-reconnect.c index 2d654ff8..a519d352 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); } }