From 162b3772ad3ce4e100eab476315e25720777de1d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 28 Sep 2015 09:28:39 +0300 Subject: testpat: fix printing of time --- libkms++/utils/testpat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libkms++') diff --git a/libkms++/utils/testpat.cpp b/libkms++/utils/testpat.cpp index cd35e0e..56000f1 100644 --- a/libkms++/utils/testpat.cpp +++ b/libkms++/utils/testpat.cpp @@ -157,6 +157,6 @@ void draw_test_pattern(Framebuffer& fb) auto t2 = high_resolution_clock::now(); auto time_span = duration_cast(t2 - t1); - printf("draw took %lu us\n", time_span.count()); + printf("draw took %u us\n", (unsigned)time_span.count()); } } -- cgit v1.2.3