Commit a0b600c8 authored by Daniele Tafani's avatar Daniele Tafani
Browse files

Changed "uint64" with "int64" in sensorcache.storeSensor()

parent 66710f33
......@@ -24,7 +24,7 @@ SensorCache::~SensorCache() {
// TODO Auto-generated destructor stub
}
void SensorCache::storeSensor(SensorId sid, uint64_t ts, uint64_t val) {
void SensorCache::storeSensor(SensorId sid, uint64_t ts, int64_t val) {
sensorReading_t s = { val, ts };
/* Remove the reserved bytes to leverage the standard find function */
......
......@@ -36,7 +36,7 @@ public:
* @param val The actual sensor reading.
* @return Returns true if the topic string was valid and the data field of the object was populated.
*/
void storeSensor(SensorId sid, uint64_t ts, uint64_t val);
void storeSensor(SensorId sid, uint64_t ts, int64_t val);
/**
* @brief Return a sensor reading from the SensorCache.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment