summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}
}