From 04a9fdb4e3227ea57538acb4c80fd996044cf674 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 16 May 2016 17:02:34 -0500 Subject: [PATCH] Clean up warnings from gcc 5.2 --- src/libCom/misc/epicsStdlib.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libCom/misc/epicsStdlib.h b/src/libCom/misc/epicsStdlib.h index 2d143cb39..20b7cd26f 100644 --- a/src/libCom/misc/epicsStdlib.h +++ b/src/libCom/misc/epicsStdlib.h @@ -70,12 +70,12 @@ epicsShareFunc int /* These macros return 1 if successful, 0 on failure. * This is analagous to the return value from sscanf() */ -#define epicsScanLong(str, to, base) !epicsParseLong(str, to, base, NULL) -#define epicsScanULong(str, to, base) !epicsParseULong(str, to, base, NULL) -#define epicsScanLLong(str, to, base) !epicsParseLLong(str, to, base, NULL) -#define epicsScanULLong(str, to, base) !epicsParseULLong(str, to, base, NULL) -#define epicsScanFloat(str, to) !epicsParseFloat(str, to, NULL) -#define epicsScanDouble(str, to) !epicsParseDouble(str, to, NULL) +#define epicsScanLong(str, to, base) (!epicsParseLong(str, to, base, NULL)) +#define epicsScanULong(str, to, base) (!epicsParseULong(str, to, base, NULL)) +#define epicsScanLLong(str, to, base) (!epicsParseLLong(str, to, base, NULL)) +#define epicsScanULLong(str, to, base) (!epicsParseULLong(str, to, base, NULL)) +#define epicsScanFloat(str, to) (!epicsParseFloat(str, to, NULL)) +#define epicsScanDouble(str, to) (!epicsParseDouble(str, to, NULL)) #ifdef __cplusplus }