summaryrefslogtreecommitdiff
path: root/shared/bin.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-29 10:35:58 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-29 10:35:58 +0200
commit054cf1c2a433c87b7caee503c28db2b7005d1060 (patch)
tree7b60a739019a87228d4fb7fb320af88bed127f7f /shared/bin.c
parentef8b97942d8d5cec956b75b6254e18034914e80d (diff)
fix order receiving
Diffstat (limited to 'shared/bin.c')
-rw-r--r--shared/bin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/bin.c b/shared/bin.c
index a0937e8..9d67bec 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"