Returning correct value for ULongType. (#157)

This commit is contained in:
mptei
2021-12-22 20:00:27 +01:00
committed by GitHub
parent 63ff2c5d4d
commit eb7ae16dde

View File

@@ -318,7 +318,7 @@ uint64_t KNXValue::ulongValue() const
switch (_type)
{
case ULongType:
return _value.uintValue;
return _value.ulongValue;
case BoolType:
return _value.boolValue ? 1 : 0;
case UCharType: