@@ -399,7 +399,7 @@
static inline msglvl_t
nonfatal(const msglvl_t err)
{
- return err & M_FATAL ? (err ^ M_FATAL) | M_NONFATAL : err;
+ return (err & M_FATAL) ? (err ^ M_FATAL) | M_NONFATAL : err;
}
static inline int
@@ -7043,12 +7043,12 @@
if (options->routes->flags & RG_REROUTE_GW)
{
setenv_int(es, "route_redirect_gateway_ipv4",
- options->routes->flags & RG_BLOCK_LOCAL ? 2 : 1);
+ (options->routes->flags & RG_BLOCK_LOCAL) ? 2 : 1);
}
if (options->routes_ipv6 && (options->routes_ipv6->flags & RG_REROUTE_GW))
{
setenv_int(es, "route_redirect_gateway_ipv6",
- options->routes->flags & RG_BLOCK_LOCAL ? 2 : 1);
+ (options->routes->flags & RG_BLOCK_LOCAL) ? 2 : 1);
}
#ifdef _WIN32
/* we need this here to handle pushed --redirect-gateway */
@@ -276,7 +276,7 @@
const WCHAR *mesg[] = { msg[0], msg[1] };
ReportEvent(hEventSource,
- flags & MSG_FLAGS_ERROR ? EVENTLOG_ERROR_TYPE : EVENTLOG_INFORMATION_TYPE,
+ (flags & MSG_FLAGS_ERROR) ? EVENTLOG_ERROR_TYPE : EVENTLOG_INFORMATION_TYPE,
0,
EVT_TEXT_2,
NULL,