diff --git a/src/knx/knx_value.cpp b/src/knx/knx_value.cpp index c8d9f54c..3ab14f92 100644 --- a/src/knx/knx_value.cpp +++ b/src/knx/knx_value.cpp @@ -403,7 +403,7 @@ int32_t KNXValue::intValue() const switch (_type) { case IntType: - return _value.shortValue; + return _value.ulongValue; case BoolType: case UCharType: case UShortType: