mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +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:
@ -268,7 +268,7 @@ int uartat_command_with_response(const uartat_context dev,
|
||||
upm_clock_t clock;
|
||||
upm_clock_init(&clock);
|
||||
|
||||
int idx = 0;
|
||||
size_t idx = 0;
|
||||
|
||||
do
|
||||
{
|
||||
@ -323,7 +323,7 @@ bool uartat_command_waitfor(const uartat_context dev, const char *cmd,
|
||||
upm_clock_t clock;
|
||||
upm_clock_init(&clock);
|
||||
|
||||
int idx = 0;
|
||||
size_t idx = 0;
|
||||
|
||||
do
|
||||
{
|
||||
|
Reference in New Issue
Block a user