diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-10-21 18:39:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-10-21 18:39:49 +0000 |
commit | a18ccfe0a72fcfb634314cc1db31d84a824934ec (patch) | |
tree | 0f6e2a1f88060d2789d25420d6cc2d425b62737b /c/src/libmisc/monitor/mon-dname.c | |
parent | Fixed endian problem in printing object names. (diff) | |
download | rtems-a18ccfe0a72fcfb634314cc1db31d84a824934ec.tar.bz2 |
Fixed a number of warnings regarding comparisons between signed and
unsigned numbers.
Diffstat (limited to 'c/src/libmisc/monitor/mon-dname.c')
-rw-r--r-- | c/src/libmisc/monitor/mon-dname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/libmisc/monitor/mon-dname.c b/c/src/libmisc/monitor/mon-dname.c index 18b127fecf..45c28342ff 100644 --- a/c/src/libmisc/monitor/mon-dname.c +++ b/c/src/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++) |