diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-09-28 09:28:39 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-09-28 09:28:39 +0300 |
commit | 162b3772ad3ce4e100eab476315e25720777de1d (patch) | |
tree | 52693eef19de0d6cbd8e5026f1fed7e7614fccfb | |
parent | 4b640e18ec0f0ffcd337546a22ab707a361d854f (diff) |
testpat: fix printing of time
-rw-r--r-- | libkms++/utils/testpat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<microseconds>(t2 - t1); - printf("draw took %lu us\n", time_span.count()); + printf("draw took %u us\n", (unsigned)time_span.count()); } } |