VxWorks ports from Dirk

This commit is contained in:
Matej Sekoranja
2012-09-03 23:43:26 +02:00
parent 233a90e608
commit 516518529c
5 changed files with 345 additions and 246 deletions

View File

@@ -477,13 +477,13 @@ size_t Convert::fromString(PVStructurePtr const &pvStructure, StringArray const
}
else if(type==scalarArray) {
PVScalarArrayPtr pv = static_pointer_cast<PVScalarArray>(fieldField);
size_t count = fromString(pv, from.at(fromStartIndex));
size_t count = fromString(pv, from[fromStartIndex]);
processed += count;
fromStartIndex += count;
}
else if(type==scalar) {
PVScalarPtr pv = static_pointer_cast<PVScalar>(fieldField);
fromString(pv, from.at(fromStartIndex++));
fromString(pv, from[fromStartIndex++]);
processed++;
}
else {