Skip to content

Commit

Permalink
Bug fix, wrong attribute type
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkRivers committed Nov 14, 2024
1 parent f50d4f4 commit 9d01565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ADApp/pluginSrc/NDFileTIFF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,15 @@ asynStatus NDFileTIFF::openFile(const char *fileName, NDFileOpenMode_t openMode,
case NDAttrInt16:
case NDAttrInt32:
case NDAttrInt64: {
pAttribute->getValue(attrDataType, &value.i64);
pAttribute->getValue(NDAttrInt64, &value.i64);
epicsSnprintf(tagString, sizeof(tagString)-1, "%s:%lld", attributeName, value.i64);
break;
}
case NDAttrUInt8:
case NDAttrUInt16:
case NDAttrUInt32:
case NDAttrUInt64: {
pAttribute->getValue(attrDataType, &value.ui64);
pAttribute->getValue(NDAttrUInt64, &value.ui64);
epicsSnprintf(tagString, sizeof(tagString)-1, "%s:%llu", attributeName, value.ui64);
break;
}
Expand Down

0 comments on commit 9d01565

Please sign in to comment.