diff --git a/src/dev/devCommonGpib.c b/src/dev/devCommonGpib.c index 25d58c584..9ac2d3768 100644 --- a/src/dev/devCommonGpib.c +++ b/src/dev/devCommonGpib.c @@ -95,6 +95,10 @@ #include #include +#ifndef VALID_ALARM +#define VALID_ALARM INVALID_ALARM +#endif + /* * This external structure contains the entry points to the GPIB drver. */ @@ -1512,7 +1516,7 @@ int devGpibLib_liGpibFinish(pdpvt) struct gpibDpvt *pdpvt; { - double value; + unsigned long value; struct longinRecord *pli = ((struct longinRecord *)(pdpvt->precord)); struct gpibCmd *pCmd; struct devGpibParmBlock *parmBlock;