From 01388fb5268bcab735d736feda3725d7c5d5f4bf Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 3 Oct 2017 16:10:11 +0200 Subject: [PATCH] more pvif --- pdbApp/pvif.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pdbApp/pvif.cpp b/pdbApp/pvif.cpp index c6ff047..5d1b186 100644 --- a/pdbApp/pvif.cpp +++ b/pdbApp/pvif.cpp @@ -135,9 +135,9 @@ struct metaENUM { // similar junk DBRunits DBRprecision - DBRgrLong - DBRctrlLong - DBRalLong + DBRgrDouble + DBRctrlDouble + DBRalDouble enum {mask = DBR_STATUS | DBR_TIME | DBR_ENUM_STRS}; }; @@ -150,9 +150,9 @@ struct metaSTRING { DBRenumStrs DBRunits DBRprecision - DBRgrLong - DBRctrlLong - DBRalLong + DBRgrDouble + DBRctrlDouble + DBRalDouble enum {mask = DBR_STATUS | DBR_TIME}; }; @@ -467,7 +467,7 @@ void findNSMask(pvTimeAlarm& pvmeta, dbChannel *chan, const epics::pvData::PVStr const char *UT = info.info("Q:time:tag"); if(UT && strncmp(UT, "nsec:lsb:", 9)==0) { try{ - pvmeta.nsecMask = epics::pvData::castUnsafe(std::string(&UT[9])); + pvmeta.nsecMask = epics::pvData::castUnsafe(std::string(&UT[9])); }catch(std::exception& e){ std::cerr<name<<" : Q:time:tag nsec:lsb: requires a number not '"<