aboutsummaryrefslogtreecommitdiffstats
path: root/libsbus.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-21 19:44:58 +0200
committerMattias Andrée <maandree@kth.se>2017-10-21 19:44:58 +0200
commit46911e856f42b6e228ae3d4b38958ca9edde6164 (patch)
tree6f013aeba03568ab588551b547908fd2424bb2ba /libsbus.h
parentFix LIBSBUS_MESSAGE check (diff)
downloadsbus-46911e856f42b6e228ae3d4b38958ca9edde6164.tar.gz
sbus-46911e856f42b6e228ae3d4b38958ca9edde6164.tar.bz2
sbus-46911e856f42b6e228ae3d4b38958ca9edde6164.tar.xz
LIBSBUS_BUFFER_SIZE: use UL suffix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libsbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsbus.h b/libsbus.h
index 8d8cad3..006b0e2 100644
--- a/libsbus.h
+++ b/libsbus.h
@@ -4,7 +4,7 @@
#include <stdlib.h>
-#define LIBSBUS_BUFFER_SIZE ((3 << 17) - 1)
+#define LIBSBUS_BUFFER_SIZE ((3UL << 17) - 1UL)
enum libsbus_packet_type {
LIBSBUS_UNKNOWN,