summaryrefslogtreecommitdiff
path: root/drivers/net/npe/IxEthDBUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/npe/IxEthDBUtil.c')
-rw-r--r--drivers/net/npe/IxEthDBUtil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/npe/IxEthDBUtil.c b/drivers/net/npe/IxEthDBUtil.c
index e708bf1bce..24acc246b7 100644
--- a/drivers/net/npe/IxEthDBUtil.c
+++ b/drivers/net/npe/IxEthDBUtil.c
@@ -94,13 +94,13 @@ BOOL ixEthDBCheckSingleBitValue(UINT32 value)
while (value != 0)
{
- if (value == 1) return TRUE;
- else if ((value & 1) == 1) return FALSE;
+ if (value == 1) return true;
+ else if ((value & 1) == 1) return false;
value >>= 1;
}
- return FALSE;
+ return false;
#endif
}