Changeset 351 for trunk/kernel


Ignore:
Timestamp:
Aug 9, 2017, 10:42:08 AM (7 years ago)
Author:
max@…
Message:

Simplify bizarre thing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/bits.c

    r23 r351  
    6565        uint32_t  bit  = index % 32;
    6666
    67         return (bitmap[word] & ( 1 << bit )) && 1;
     67        return (bitmap[word] & ( 1 << bit )) != 0;
    6868}
    6969
Note: See TracChangeset for help on using the changeset viewer.