[rtems commit] bsps: Fix printk() format warning
Sebastian Huber
sebh at rtems.org
Fri Jun 17 06:07:35 UTC 2016
Module: rtems
Branch: master
Commit: 16706b723f788cd26a3d5cb475f5468a68dcf263
Changeset: http://git.rtems.org/rtems/commit/?id=16706b723f788cd26a3d5cb475f5468a68dcf263
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 17 08:06:56 2016 +0200
bsps: Fix printk() format warning
---
c/src/libchip/shmdr/dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/libchip/shmdr/dump.c b/c/src/libchip/shmdr/dump.c
index 845e2b5..f1be932 100644
--- a/c/src/libchip/shmdr/dump.c
+++ b/c/src/libchip/shmdr/dump.c
@@ -27,7 +27,7 @@ Shm_Print_statistics(void)
uint32_t ticks;
uint32_t ticks_per_second;
uint32_t seconds;
- int packets_per_second;
+ uint32_t packets_per_second;
ticks = rtems_clock_get_ticks_since_boot();
ticks_per_second = rtems_clock_get_ticks_per_second();
More information about the vc
mailing list