You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
568 B

  1. From 2e3e25454a165d55cbcd4fc78539454d4e0d8d51 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Mon, 22 Feb 2021 16:07:02 -0800
  4. Subject: [PATCH] add missing cast
  5. Fixes -Wformat
  6. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  7. ---
  8. bon_time.cpp | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. --- a/bon_time.cpp
  11. +++ b/bon_time.cpp
  12. @@ -146,7 +146,7 @@ int BonTimer::print_stat(tests_t test, i
  13. }
  14. else
  15. {
  16. - fprintf(m_fp, " %5d", stat);
  17. + fprintf(m_fp, " %5d", int(stat));
  18. }
  19. }
  20. else