Changeset 4422c8e in buchla-68k for libcio


Ignore:
Timestamp:
07/14/2017 02:46:19 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
d21fc6f
Parents:
add86dd
Message:

No more pointer-int conversions.

Location:
libcio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcio/filesys.c

    radd86dd r4422c8e  
    684684                _dirin = FALSE;
    685685
    686                 if ((struct bpb *)0L EQ (_thebpb = BIOS(B_GBPB, 0))) {
     686                if (NULL EQ (_thebpb = (struct bpb *)BIOS(B_GBPB, 0))) {
    687687
    688688                        errno = EIO;    /* couldn't read the BPB */
  • libcio/open.c

    radd86dd r4422c8e  
    1919static struct devtabl devtabl[] = {
    2020
    21         { "con:", &condev,  2 },        /* console device */
    22         { "CON:", &condev,  2 },
    23 
    24         {      0, &filedev, 0 }         /* this MUST be the last entry */
     21        { "con:", &condev,  (io_arg)2 },        /* console device */
     22        { "CON:", &condev,  (io_arg)2 },
     23
     24        {      0, &filedev,      NULL }         /* this MUST be the last entry */
    2525};
    2626
Note: See TracChangeset for help on using the changeset viewer.