Changeset e4c1926 in rtems


Ignore:
Timestamp:
Sep 5, 2013, 5:09:37 PM (6 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, master
Children:
a8007dc2
Parents:
551468c
Message:

dosfs: Unsigned compared against 0

Fix the type of "cmpltd" to be ssize_t so that assigning it to -1
will terminate processing as intended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos_dir.c

    r551468c re4c1926  
    7979    uint32_t           start = 0;
    8080    ssize_t            ret = 0;
    81     uint32_t           cmpltd = 0;
     81    ssize_t            cmpltd = 0;
    8282    uint32_t           j = 0, i = 0;
    8383    uint32_t           bts2rd = 0;
Note: See TracChangeset for help on using the changeset viewer.