Changeset 8973acd in buchla-68k for libcio/getc.c


Ignore:
Timestamp:
07/15/2017 03:12:10 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ea232f9
Parents:
7d0d347
Message:

No more warnings in libcio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/getc.c

    r7d0d347 r8973acd  
    1717                        return(EOF);
    1818
    19                 ptr->_flags &= ~_DIRTY;         /* reset the dirty buffer bit */
     19                ptr->_flags = (uint8_t)(ptr->_flags & ~_DIRTY); /* reset the dirty buffer bit */
    2020
    2121                if (ptr->_buff EQ NULL)         /* get a buffer if none exists */
     
    2424                if ((len = read(ptr->_unit, ptr->_buff, ptr->_buflen)) LE 0) {
    2525
    26                         ptr->_flags |= ((len EQ 0) ? _EOF : _IOERR);
     26                        ptr->_flags = (uint8_t)(ptr->_flags | ((len EQ 0) ? _EOF : _IOERR));
    2727                        return(EOF);
    2828                }
Note: See TracChangeset for help on using the changeset viewer.