diff --git a/services/sensor/src/sensor_data_processer.cpp b/services/sensor/src/sensor_data_processer.cpp index 91ec01e26a671e1509c6fc2523a26967ebfac5dc..3310bfc165491b70418e905c3aff7712459f36f4 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; }