diff options
author | Ivan Shapovalov <intelfx@intelfx.name> | 2017-01-24 02:01:08 +0300 |
---|---|---|
committer | Ivan Shapovalov <intelfx@intelfx.name> | 2017-01-24 02:55:09 +0300 |
commit | 064ba4abd4d4c4d2dfeaa3b22e03d7c83a0d4acb (patch) | |
tree | 992f505d53a72eead046849e161c61d98cd90b51 /samples | |
parent | 519ccbd27354280d4210db1c1fa8f239b1794b14 (diff) |
treewide: silence type mismatch warnings in *printf()
Diffstat (limited to 'samples')
-rw-r--r-- | samples/sgemm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/sgemm.cpp b/samples/sgemm.cpp index b05c390e..b960865b 100644 --- a/samples/sgemm.cpp +++ b/samples/sgemm.cpp @@ -106,7 +106,7 @@ int main() { auto time_ms = std::chrono::duration<double,std::milli>(elapsed_time).count(); // Example completed. See "clblast.h" for status codes (0 -> success). - printf("Completed SGEMM in %.3lf ms with status %d\n", time_ms, status); + printf("Completed SGEMM in %.3lf ms with status %d\n", time_ms, static_cast<int>(status)); return 0; } |