From 49efb10ec08953459620cd6ff69efebe3a187bf6 Mon Sep 17 00:00:00 2001 From: SUE Date: Mon, 25 Apr 2022 03:40:51 +0000 Subject: [PATCH] Signed-off-by:hellohyh001 --- services/sensor/src/sensor_data_processer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sensor/src/sensor_data_processer.cpp b/services/sensor/src/sensor_data_processer.cpp index 91ec01e2..3310bfc1 100644 --- a/services/sensor/src/sensor_data_processer.cpp +++ b/services/sensor/src/sensor_data_processer.cpp @@ -170,7 +170,7 @@ void SensorDataProcesser::ReportData(sptr &channel, stru if (ReportNotContinuousData(cacheBuf, channel, event)) { return; } - int32_t periodCount = clientInfo_.ComputeBestPeriodCount(sensorId, channel); + uint64_t periodCount = clientInfo_.ComputeBestPeriodCount(sensorId, channel); if (periodCount == 0UL) { return; } -- Gitee