From 46911e856f42b6e228ae3d4b38958ca9edde6164 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 21 Oct 2017 19:44:58 +0200 Subject: LIBSBUS_BUFFER_SIZE: use UL suffix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsbus.h') diff --git a/libsbus.h b/libsbus.h index 8d8cad3..006b0e2 100644 --- a/libsbus.h +++ b/libsbus.h @@ -4,7 +4,7 @@ #include -#define LIBSBUS_BUFFER_SIZE ((3 << 17) - 1) +#define LIBSBUS_BUFFER_SIZE ((3UL << 17) - 1UL) enum libsbus_packet_type { LIBSBUS_UNKNOWN, -- cgit v1.2.3-70-g09d2