diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-21 19:44:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-21 19:44:58 +0200 |
commit | 46911e856f42b6e228ae3d4b38958ca9edde6164 (patch) | |
tree | 6f013aeba03568ab588551b547908fd2424bb2ba /libsbus.h | |
parent | Fix LIBSBUS_MESSAGE check (diff) | |
download | sbus-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |