Changeset c81132d in mainline for uspace/drv/bus/pci/pciintel/pci.c


Ignore:
Timestamp:
2017-12-09T21:25:14Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1afa94d
Parents:
94e3a03
Message:

Replace casts from non-bool to bool with explicit equality check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/pci/pciintel/pci.c

    r94e3a03 rc81132d  
    514514#define MEM_MASK (~0xf)
    515515       
    516         io = (bool) (val & 1);
     516        io = (val & 1) != 0;
    517517        if (io) {
    518518                addrw64 = false;
Note: See TracChangeset for help on using the changeset viewer.