Changeset cec5c069 in rtems for cpukit/libblock/src/bdbuf.c


Ignore:
Timestamp:
Aug 21, 2008, 4:17:35 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
21c9770
Parents:
d9be8024
Message:

2008-08-21 Joel Sherrill <joel.sherrill@…>

  • libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/bdbuf.c

    rd9be8024 rcec5c069  
    928928  rtems_bdbuf_buffer* bd;
    929929  rtems_status_code   sc;
    930   int                 b;
     930  uint32_t            b;
    931931
    932932  pool = rtems_bdbuf_get_pool (pid);
     
    12971297          {
    12981298            rtems_chain_node* node = rtems_chain_head (&pool->modified);
    1299             int               write_blocks = 0;
     1299            uint32_t          write_blocks = 0;
    13001300           
    13011301            node = node->next;
     
    15281528  rtems_bdbuf_pool*     pool;
    15291529  rtems_bdbuf_buffer*   bd = NULL;
    1530   int                   read_ahead_count;
     1530  uint32_t              read_ahead_count;
    15311531  rtems_blkdev_request* req;
    15321532 
     
    16401640     * of the bdbuf code.
    16411641     */
    1642     int result;
    1643     int b;
     1642    int      result;
     1643    uint32_t b;
    16441644   
    16451645    rtems_bdbuf_unlock_pool (pool);
     
    20432043         * calls sets the dev to use.
    20442044         */
    2045         if (*dev == -1)
     2045        if (*dev == (dev_t)-1)
    20462046          *dev = bd->dev;
    20472047
     
    22362236        {
    22372237          int result;
    2238           int b;
     2238          uint32_t b;
    22392239
    22402240          /*
     
    24362436 */
    24372437rtems_status_code
    2438 rtems_bdbuf_find_pool (int block_size, rtems_bdpool_id *pool)
     2438rtems_bdbuf_find_pool (uint32_t block_size, rtems_bdpool_id *pool)
    24392439{
    24402440  rtems_bdbuf_pool* p;
     
    24422442  rtems_bdpool_id   curid = -1;
    24432443  rtems_boolean     found = FALSE;
    2444   int               cursize = INT_MAX;
     2444  uint32_t          cursize = UINT_MAX;
    24452445  int               j;
    24462446
Note: See TracChangeset for help on using the changeset viewer.