In client.cpp comparison between signed and unsigned integers.
Signed integer was a indev variable for a for loop and was always positive
So, changed it from int to unsigned int.
Change-Id: Ib7e3d569b9d2320f0a8f5a3eee50fdd0db6d5425
retvm_if(!*list, false, "Failed to allocate memory");
}
- for (int i = 0; i < sensor_infos.size(); ++i)
+ for (unsigned int i = 0; i < sensor_infos.size(); ++i)
*(*list + i) = sensor_info_to_sensor(sensor_infos[i]);
*sensor_count = sensor_infos.size();