[rtems commit] rtems: Fix format warnings
Sebastian Huber
sebh at rtems.org
Fri Oct 6 07:43:34 UTC 2017
Module: rtems
Branch: master
Commit: 900fda456746edd03268467294c386e8c2b28af1
Changeset: http://git.rtems.org/rtems/commit/?id=900fda456746edd03268467294c386e8c2b28af1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Oct 6 09:42:32 2017 +0200
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 0ea7790..1f7542f 100644
--- a/cpukit/rtems/src/ratemonreportstatistics.c
+++ b/cpukit/rtems/src/ratemonreportstatistics.c
@@ -26,9 +26,9 @@
#include <rtems/inttypes.h>
/* 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
More information about the vc
mailing list