diff options
Diffstat (limited to 'include/CommonAPI/DBus/DBusInputStream.hpp')
-rw-r--r-- | include/CommonAPI/DBus/DBusInputStream.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/CommonAPI/DBus/DBusInputStream.hpp b/include/CommonAPI/DBus/DBusInputStream.hpp index ec6c7d0..61e4133 100644 --- a/include/CommonAPI/DBus/DBusInputStream.hpp +++ b/include/CommonAPI/DBus/DBusInputStream.hpp @@ -454,7 +454,7 @@ public: char * raw = _readRaw(sizeof(double)); if (!hasError()) { - _value = (float) (*(reinterpret_cast<double*>(raw))); + _value = float(*(reinterpret_cast<double*>(raw))); } return (*this); } |