<div dir="auto">I pushed a slightly different patch to this file yesterday. I used PRItime_t as I recall.<div dir="auto"><br></div><div dir="auto">Update your tree. I got rid of a LOT of warnings this weekend.</div><div dir="auto"><br></div><div dir="auto">--joel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Apr 25, 2017 5:02 AM, "Cillian O'Donnell" <<a href="mailto:cpodonnell8@gmail.com">cpodonnell8@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 cpukit/rtems/src/<wbr>ratemonreportstatistics.c | 15 ++++++++-------<br>
 1 file changed, 8 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/cpukit/rtems/src/<wbr>ratemonreportstatistics.c b/cpukit/rtems/src/<wbr>ratemonreportstatistics.c<br>
index a1bab4a..78477b0 100644<br>
--- a/cpukit/rtems/src/<wbr>ratemonreportstatistics.c<br>
+++ b/cpukit/rtems/src/<wbr>ratemonreportstatistics.c<br>
@@ -21,13 +21,14 @@<br>
 #include <rtems/rtems/ratemonimpl.h><br>
 #include <rtems/rtems/object.h><br>
 #include <rtems/printer.h><br>
+#include <rtems/inttypes.h><br>
<br>
 #include <inttypes.h><br>
<br>
 /* We print to 1/10's of milliseconds */<br>
 #define NANOSECONDS_DIVIDER 1000<br>
 #define PERCENT_FMT     "%04" PRId32<br>
-#define NANOSECONDS_FMT "%06" PRId32<br>
+#define NANOSECONDS_FMT "%06" PRIdtime_t<br>
<br>
 void rtems_rate_monotonic_report_<wbr>statistics_with_plugin(<br>
   const rtems_printer *printer<br>
@@ -112,9 +113,9 @@ ididididid NNNN ccccc mmmmmm X<br>
<br>
       _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );<br>
       rtems_printf( printer,<br>
-        "%" PRId32 "."  NANOSECONDS_FMT "/"        /* min cpu time */<br>
-        "%" PRId32 "."  NANOSECONDS_FMT "/"        /* max cpu time */<br>
-        "%" PRId32 "."  NANOSECONDS_FMT " ",       /* avg cpu time */<br>
+        "%" PRIdtime_t "."  NANOSECONDS_FMT "/"        /* min cpu time */<br>
+        "%" PRIdtime_t "."  NANOSECONDS_FMT "/"        /* max cpu time */<br>
+        "%" PRIdtime_t "."  NANOSECONDS_FMT " ",       /* avg cpu time */<br>
         _Timespec_Get_seconds( min_cpu ),<br>
          _Timespec_Get_nanoseconds( min_cpu ) / NANOSECONDS_DIVIDER,<br>
         _Timespec_Get_seconds( max_cpu ),<br>
@@ -135,9 +136,9 @@ ididididid NNNN ccccc mmmmmm X<br>
<br>
       _Timespec_Divide_by_integer(<wbr>total_wall, the_stats.count, &wall_average);<br>
       rtems_printf( printer,<br>
-        "%" PRId32 "." NANOSECONDS_FMT "/"        /* min wall time */<br>
-        "%" PRId32 "." NANOSECONDS_FMT "/"        /* max wall time */<br>
-        "%" PRId32 "." NANOSECONDS_FMT "\n",      /* avg wall time */<br>
+        "%" PRIdtime_t "." NANOSECONDS_FMT "/"        /* min wall time */<br>
+        "%" PRIdtime_t "." NANOSECONDS_FMT "/"        /* max wall time */<br>
+        "%" PRIdtime_t "." NANOSECONDS_FMT "\n",      /* avg wall time */<br>
         _Timespec_Get_seconds( min_wall ),<br>
           _Timespec_Get_nanoseconds( min_wall ) / NANOSECONDS_DIVIDER,<br>
         _Timespec_Get_seconds( max_wall ),<br>
--<br>
2.7.4<br>
<br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div></div>