summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/bin.c8
-rw-r--r--shared/consts.h1
2 files changed, 4 insertions, 5 deletions
diff --git a/shared/bin.c b/shared/bin.c
index 9d67bec..2798ade 100644
--- a/shared/bin.c
+++ b/shared/bin.c
@@ -10,10 +10,10 @@
#define _SHIFT_1B (8 * 1)
#define _SHIFT_2B (8 * 2)
#define _SHIFT_3B (8 * 3)
-#define _BYTE_0 ((uint32_t) 0xff << (_SHIFT_0B))
-#define _BYTE_1 ((uint32_t) 0xff << (_SHIFT_1B))
-#define _BYTE_2 ((uint32_t) 0xff << (_SHIFT_2B))
-#define _BYTE_3 ((uint32_t) 0xff << (_SHIFT_3B))
+#define _BYTE_0 ((uint32_t)0xff << (_SHIFT_0B))
+#define _BYTE_1 ((uint32_t)0xff << (_SHIFT_1B))
+#define _BYTE_2 ((uint32_t)0xff << (_SHIFT_2B))
+#define _BYTE_3 ((uint32_t)0xff << (_SHIFT_3B))
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshift-count-overflow"
diff --git a/shared/consts.h b/shared/consts.h
index a083f61..9b9aeee 100644
--- a/shared/consts.h
+++ b/shared/consts.h
@@ -66,4 +66,3 @@
/** arbitrary grid constants */
#define W2_GRID_CROSSWALK_DISTANCE 400
-