[rtems commit] shell/main_rtrace.c: Fix warning

Joel Sherril joel at rtems.org
Fri Apr 3 21:19:00 UTC 2015


Module:    rtems
Branch:    master
Commit:    fd50acd54ff1d2028f671f5d1eb44b24ecd8b23d
Changeset: http://git.rtems.org/rtems/commit/?id=fd50acd54ff1d2028f671f5d1eb44b24ecd8b23d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Apr  3 15:08:20 2015 -0500

shell/main_rtrace.c: Fix warning

---

 cpukit/libmisc/shell/main_rtrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libmisc/shell/main_rtrace.c b/cpukit/libmisc/shell/main_rtrace.c
index b4bb133..f1b8a59 100644
--- a/cpukit/libmisc/shell/main_rtrace.c
+++ b/cpukit/libmisc/shell/main_rtrace.c
@@ -132,7 +132,7 @@ rtems_trace_buffering_shell_funcs (int argc, char *argv[])
     printf(" %4zu: %c%c %-*s\n", t,
            rtems_trace_enable_set(t) ? 'E' : '-',
            rtems_trace_trigger_set(t) ? 'T' : '-',
-           max, rtems_trace_names (t));
+           (int) max, rtems_trace_names (t));
   }
 
   return 0;



More information about the vc mailing list