Changeset a18ccfe in rtems


Ignore:
Timestamp:
Oct 21, 1997, 6:39:49 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3dbcece
Parents:
4822069
Message:

Fixed a number of warnings regarding comparisons between signed and
unsigned numbers.

Files:
12 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libmisc/monitor/mon-dname.c

    r4822069 ra18ccfe  
    5252)
    5353{
    54     int n = rtems_get_index(*next_id);
    55     rtems_driver_name_t    *table = _IO_Driver_name_table;
    56     rtems_driver_name_t    *np = 0;
     54    rtems_unsigned32      n = rtems_get_index(*next_id);
     55    rtems_driver_name_t  *table = _IO_Driver_name_table;
     56    rtems_driver_name_t  *np = 0;
    5757
    5858/* XXX should we be using _IO_Number_of_devices */
  • c/src/lib/libmisc/monitor/mon-driver.c

    r4822069 ra18ccfe  
    6464{
    6565    rtems_configuration_table *c = _Configuration_Table;
    66     int n = rtems_get_index(*next_id);
     66    rtems_unsigned32 n = rtems_get_index(*next_id);
    6767
    6868    if (n >= c->number_of_device_drivers)
  • c/src/lib/libmisc/monitor/mon-itask.c

    r4822069 ra18ccfe  
    4141    rtems_configuration_table *c = _Configuration_Table;
    4242    rtems_initialization_tasks_table *itask;
    43     int n = rtems_get_index(*next_id);
     43    rtems_unsigned32 n = rtems_get_index(*next_id);
    4444
    4545    if (n >= c->RTEMS_api_configuration->number_of_initialization_tasks)
  • c/src/lib/libmisc/monitor/mon-symbols.c

    r4822069 ra18ccfe  
    232232  )
    233233{
    234     int s;
     234    rtems_unsigned32 s;
    235235    rtems_symbol_t *sp;
    236236
     
    272272  )
    273273{
    274     int s;
     274    rtems_unsigned32 s;
    275275    rtems_symbol_t *sp;
    276276
     
    299299{
    300300    rtems_symbol_table_t *table;
    301     int n = rtems_get_index(*next_id);
     301    rtems_unsigned32 n = rtems_get_index(*next_id);
    302302
    303303    table = *(rtems_symbol_table_t **) object_info;
     
    416416)
    417417{
    418     int s;
     418    rtems_unsigned32 s;
    419419    rtems_symbol_t *sp;
    420420
  • c/src/libmisc/monitor/mon-dname.c

    r4822069 ra18ccfe  
    5252)
    5353{
    54     int n = rtems_get_index(*next_id);
    55     rtems_driver_name_t    *table = _IO_Driver_name_table;
    56     rtems_driver_name_t    *np = 0;
     54    rtems_unsigned32      n = rtems_get_index(*next_id);
     55    rtems_driver_name_t  *table = _IO_Driver_name_table;
     56    rtems_driver_name_t  *np = 0;
    5757
    5858/* XXX should we be using _IO_Number_of_devices */
  • c/src/libmisc/monitor/mon-driver.c

    r4822069 ra18ccfe  
    6464{
    6565    rtems_configuration_table *c = _Configuration_Table;
    66     int n = rtems_get_index(*next_id);
     66    rtems_unsigned32 n = rtems_get_index(*next_id);
    6767
    6868    if (n >= c->number_of_device_drivers)
  • c/src/libmisc/monitor/mon-itask.c

    r4822069 ra18ccfe  
    4141    rtems_configuration_table *c = _Configuration_Table;
    4242    rtems_initialization_tasks_table *itask;
    43     int n = rtems_get_index(*next_id);
     43    rtems_unsigned32 n = rtems_get_index(*next_id);
    4444
    4545    if (n >= c->RTEMS_api_configuration->number_of_initialization_tasks)
  • c/src/libmisc/monitor/mon-symbols.c

    r4822069 ra18ccfe  
    232232  )
    233233{
    234     int s;
     234    rtems_unsigned32 s;
    235235    rtems_symbol_t *sp;
    236236
     
    272272  )
    273273{
    274     int s;
     274    rtems_unsigned32 s;
    275275    rtems_symbol_t *sp;
    276276
     
    299299{
    300300    rtems_symbol_table_t *table;
    301     int n = rtems_get_index(*next_id);
     301    rtems_unsigned32 n = rtems_get_index(*next_id);
    302302
    303303    table = *(rtems_symbol_table_t **) object_info;
     
    416416)
    417417{
    418     int s;
     418    rtems_unsigned32 s;
    419419    rtems_symbol_t *sp;
    420420
  • cpukit/libmisc/monitor/mon-dname.c

    r4822069 ra18ccfe  
    5252)
    5353{
    54     int n = rtems_get_index(*next_id);
    55     rtems_driver_name_t    *table = _IO_Driver_name_table;
    56     rtems_driver_name_t    *np = 0;
     54    rtems_unsigned32      n = rtems_get_index(*next_id);
     55    rtems_driver_name_t  *table = _IO_Driver_name_table;
     56    rtems_driver_name_t  *np = 0;
    5757
    5858/* XXX should we be using _IO_Number_of_devices */
  • cpukit/libmisc/monitor/mon-driver.c

    r4822069 ra18ccfe  
    6464{
    6565    rtems_configuration_table *c = _Configuration_Table;
    66     int n = rtems_get_index(*next_id);
     66    rtems_unsigned32 n = rtems_get_index(*next_id);
    6767
    6868    if (n >= c->number_of_device_drivers)
  • cpukit/libmisc/monitor/mon-itask.c

    r4822069 ra18ccfe  
    4141    rtems_configuration_table *c = _Configuration_Table;
    4242    rtems_initialization_tasks_table *itask;
    43     int n = rtems_get_index(*next_id);
     43    rtems_unsigned32 n = rtems_get_index(*next_id);
    4444
    4545    if (n >= c->RTEMS_api_configuration->number_of_initialization_tasks)
  • cpukit/libmisc/monitor/mon-symbols.c

    r4822069 ra18ccfe  
    232232  )
    233233{
    234     int s;
     234    rtems_unsigned32 s;
    235235    rtems_symbol_t *sp;
    236236
     
    272272  )
    273273{
    274     int s;
     274    rtems_unsigned32 s;
    275275    rtems_symbol_t *sp;
    276276
     
    299299{
    300300    rtems_symbol_table_t *table;
    301     int n = rtems_get_index(*next_id);
     301    rtems_unsigned32 n = rtems_get_index(*next_id);
    302302
    303303    table = *(rtems_symbol_table_t **) object_info;
     
    416416)
    417417{
    418     int s;
     418    rtems_unsigned32 s;
    419419    rtems_symbol_t *sp;
    420420
Note: See TracChangeset for help on using the changeset viewer.