aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,