diff options
Diffstat (limited to 'cpukit/libmisc/monitor/mon-dname.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-dname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/monitor/mon-dname.c b/cpukit/libmisc/monitor/mon-dname.c index 18b127fecf..45c28342ff 100644 --- a/cpukit/libmisc/monitor/mon-dname.c +++ b/cpukit/libmisc/monitor/mon-dname.c @@ -51,9 +51,9 @@ rtems_monitor_dname_next( rtems_id *next_id ) { - int n = rtems_get_index(*next_id); - rtems_driver_name_t *table = _IO_Driver_name_table; - rtems_driver_name_t *np = 0; + rtems_unsigned32 n = rtems_get_index(*next_id); + rtems_driver_name_t *table = _IO_Driver_name_table; + rtems_driver_name_t *np = 0; /* XXX should we be using _IO_Number_of_devices */ for (np = table + n ; n<_IO_Number_of_devices; n++, np++) |