Changeset 0c06bc5 in buchla-68k for libcio/filesys.c


Ignore:
Timestamp:
07/16/2017 11:45:11 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
f261cc8
Parents:
1d174fb
Message:

Prefer int16_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/filesys.c

    r1d174fb r0c06bc5  
    8282*/
    8383
    84 int32_t _getfat(uint8_t *bufad, struct bpb *bpp, int16_t nfat)
     84int16_t _getfat(uint8_t *bufad, struct bpb *bpp, int16_t nfat)
    8585{
    8686        int16_t fatsec;
    8787
    8888        fatsec = nfat ? bpp->fatrec : (bpp->fatrec - bpp->fsiz);
    89         return(BIOS(B_RDWR, 0, bufad, bpp->fsiz, fatsec, 0));
     89        return((int16_t)BIOS(B_RDWR, 0, bufad, bpp->fsiz, fatsec, 0));
    9090}
    9191
     
    117117*/
    118118
    119 int32_t _rdroot(struct dirent *buf, struct bpb *bpp)
    120 {
    121         return(BIOS(B_RDWR, 0, buf, bpp->rdlen,
     119int16_t _rdroot(struct dirent *buf, struct bpb *bpp)
     120{
     121        return((int16_t)BIOS(B_RDWR, 0, buf, bpp->rdlen,
    122122                (bpp->fatrec + bpp->fsiz), 0));
    123123}
Note: See TracChangeset for help on using the changeset viewer.