diff --git a/perf_counter.h b/perf_counter.h index 82d410d..8b5ae26 100644 --- a/perf_counter.h +++ b/perf_counter.h @@ -359,8 +359,8 @@ __asm(".global __ensure_systick_wrapper\n\t"); __perf_counter_printf__( \ "--------------------------------------------\r\n"); \ __perf_counter_printf__( \ - __STR " total cycle count: %lld [%016llx]\r\n", \ - _, _); \ + __STR " total cycle count: %ld [%016lx]\r\n", \ + (long)_, (long)_); \ } else { \ __VA_ARGS__ \ }; \