Changeset 3ef7e744 in rtems


Ignore:
Timestamp:
Apr 30, 2018, 5:44:56 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6ac6a5c8
Parents:
8b5a801
git-author:
Sebastian Huber <sebastian.huber@…> (04/30/18 05:44:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/30/18 05:48:53)
Message:

config: Fix -Wint-in-bool-context warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/confdefs.h

    r8b5a801 r3ef7e744  
    13251325 * Zero of one returns 0 if the parameter is 0 else 1 is returned.
    13261326 */
    1327 #define _Configure_Zero_or_One(_number) ((_number) ? 1 : 0)
     1327#define _Configure_Zero_or_One(_number) ((_number) != 0 ? 1 : 0)
    13281328
    13291329/**
Note: See TracChangeset for help on using the changeset viewer.