From 01c0b021e61e36a5e7e97e5032c0a85d97dd3041 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 28 Mar 2015 08:56:51 +0000 Subject: [PATCH] Added missing braces. FossilOrigin-Name: 69179fd39ccf11c822ee6e4400220cf6a5c2c6e6fb1fe72524decfc5e15dfc0e --- src/capwap/lwapp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/capwap/lwapp.h b/src/capwap/lwapp.h index 14d72a37..e22e84fb 100644 --- a/src/capwap/lwapp.h +++ b/src/capwap/lwapp.h @@ -147,10 +147,10 @@ (*(uint8_t*)(src)) #define lw_get_word(src) \ - (ntohs( *(uint16_t*(src)))) + (ntohs( *((uint16_t*)(src)))) #define lw_get_dword(src) \ - (ntohl( *(uint32_t*(src)))) + (ntohl( *((uint32_t*)(src)))) /* the following functions are defined as static inline and not as