From 900fda456746edd03268467294c386e8c2b28af1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 6 Oct 2017 09:42:32 +0200 Subject: rtems: Fix format warnings Update #3111. --- cpukit/rtems/src/ratemonreportstatistics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/rtems/src/ratemonreportstatistics.c b/cpukit/rtems/src/ratemonreportstatistics.c index 0ea7790e49..1f7542f8df 100644 --- a/cpukit/rtems/src/ratemonreportstatistics.c +++ b/cpukit/rtems/src/ratemonreportstatistics.c @@ -26,9 +26,9 @@ #include /* We print to 1/10's of milliseconds */ -#define NANOSECONDS_DIVIDER 1000 +#define NANOSECONDS_DIVIDER 1000L #define PERCENT_FMT "%04" PRId32 -#define NANOSECONDS_FMT "%06" PRIdtime_t +#define NANOSECONDS_FMT "%06ld" void rtems_rate_monotonic_report_statistics_with_plugin( const rtems_printer *printer -- cgit v1.2.3