mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
C: Fixes for sign compares in C libraries
Added explicit error for sign compares to CMake. Updated a handful of C source which compared unsigned vs signed. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -93,7 +93,7 @@ ppd42ns_dust_data ppd42ns_get_data(const ppd42ns_context dev)
|
||||
ppd42ns_dust_data data;
|
||||
|
||||
// in ms, 30 seconds
|
||||
const int pulse_check_time = 30000;
|
||||
const unsigned int pulse_check_time = 30000;
|
||||
// loop timer
|
||||
upm_clock_t max_loop_time;
|
||||
|
||||
|
Reference in New Issue
Block a user