Skip to content

Commit

Permalink
Merge pull request #184 from xiaoqiangwang/patch-1
Browse files Browse the repository at this point in the history
fix comparison of int64 type
  • Loading branch information
MarkRivers authored Jun 14, 2023
2 parents 855f10c + bab17fc commit 9e184b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyn/asynPortDriver/paramVal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void paramVal::setInteger64(epicsInt64 value)
{
if (type != asynParamInt64)
throw ParamValWrongType("paramVal::setInteger64 can only handle asynParamInt64");
if (!isDefined() || (data.ival != value))
if (!isDefined() || (data.i64val != value))
{
setDefined(true);
data.i64val = value;
Expand Down

0 comments on commit 9e184b6

Please sign in to comment.