diff --git a/flowercare/flowercare.cpp b/flowercare/flowercare.cpp index fafe1129..0b7a8b4c 100644 --- a/flowercare/flowercare.cpp +++ b/flowercare/flowercare.cpp @@ -124,7 +124,7 @@ void FlowerCare::processSensorData(const QByteArray &data) QByteArray copy = data; QDataStream stream(©, QIODevice::ReadOnly); stream.setByteOrder(QDataStream::LittleEndian); - quint16 temp; + qint16 temp; stream >> temp; qint8 skip; stream >> skip;