From feb18e975031ce82787bbdb2b21880f85d0cea20 Mon Sep 17 00:00:00 2001 From: Pierre-Noel Bouteville Date: Sun, 4 Dec 2016 08:03:47 -0600 Subject: [PATCH] netutils/ntpclient: Fix missing left parenthesis. --- netutils/ntpclient/ntpv3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netutils/ntpclient/ntpv3.h b/netutils/ntpclient/ntpv3.h index c96883f82..bedc9c710 100644 --- a/netutils/ntpclient/ntpv3.h +++ b/netutils/ntpclient/ntpv3.h @@ -177,7 +177,7 @@ #define MKLVM(l,v,m) ((uint8_t)(l) << 6 | (uint8_t)(v) << 3 | (uint8_t)(m)) #define GETLI(lvm) ((uint8_t)(lvm) >> 6) -#define GETVN(lvm) ((uint8_t)(lvm) >> 3) & 7) +#define GETVN(lvm) (((uint8_t)(lvm) >> 3) & 7) #define GETMODE(lvm) ((uint8_t)(lvm) & 7) /****************************************************************************