From fbc86a616c38ea91beee586c417ea405ea6be56a Mon Sep 17 00:00:00 2001 From: Yu-Chen Lin Date: Sat, 30 Nov 2019 12:33:40 +0800 Subject: [PATCH] Correct coding style Signed-off-by: Yu-Chen Lin --- app/src/util/buffer_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/util/buffer_util.h b/app/src/util/buffer_util.h index 262df1dc..17234e42 100644 --- a/app/src/util/buffer_util.h +++ b/app/src/util/buffer_util.h @@ -36,8 +36,8 @@ buffer_read32be(const uint8_t *buf) { return (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]; } -static inline -uint64_t buffer_read64be(const uint8_t *buf) { +static inline uint64_t +buffer_read64be(const uint8_t *buf) { uint32_t msb = buffer_read32be(buf); uint32_t lsb = buffer_read32be(&buf[4]); return ((uint64_t) msb << 32) | lsb;