summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-10-24 17:17:18 -0600
committerGitHub <noreply@github.com>2020-10-24 17:17:18 -0600
commit193714672ff3d0a8ae5f9679d5a171b027323b32 (patch)
tree686129b48a470b886e9762bc8463c14fedeb5459 /include/types.h
parentbab7752469903fb4e93e31f8f53f7fd44e39b51f (diff)
downloadbcm5719-ortega-193714672ff3d0a8ae5f9679d5a171b027323b32.tar.gz
bcm5719-ortega-193714672ff3d0a8ae5f9679d5a171b027323b32.zip
ncsi: Cleanup various linting warnings. (#150)
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/types.h b/include/types.h
index 89e0ee3..c8df646 100644
--- a/include/types.h
+++ b/include/types.h
@@ -65,8 +65,8 @@ typedef _Bool bool;
typedef uint32_t size_t;
-#define true (1)
-#define false (0)
+#define true ((bool)1)
+#define false ((bool)0)
#else
#error Unknown target architechture
#endif
OpenPOWER on IntegriCloud