diff --git a/src/makeBaseApp/top/caServerApp/exScalarPV.cc b/src/makeBaseApp/top/caServerApp/exScalarPV.cc index 4ac60ac8a..3f6ec0beb 100644 --- a/src/makeBaseApp/top/caServerApp/exScalarPV.cc +++ b/src/makeBaseApp/top/caServerApp/exScalarPV.cc @@ -107,7 +107,7 @@ caStatus exScalarPV::updateValue ( const gdd & valueIn ) if ( ! pValue.valid () ) { this->pValue = new gddScalar ( - gddAppType_value, aitEnumFloat64 ); + gddAppType_value, this->info.getType () ); if ( ! pValue.valid () ) { return S_casApp_noMemory; }