summaryrefslogtreecommitdiff
path: root/libkms++/utils
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-09-28 09:28:39 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-09-28 09:28:39 +0300
commit162b3772ad3ce4e100eab476315e25720777de1d (patch)
tree52693eef19de0d6cbd8e5026f1fed7e7614fccfb /libkms++/utils
parent4b640e18ec0f0ffcd337546a22ab707a361d854f (diff)
testpat: fix printing of time
Diffstat (limited to 'libkms++/utils')
-rw-r--r--libkms++/utils/testpat.cpp2
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());
}
}