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:
Noel Eck
2018-02-07 12:17:54 -08:00
parent 460fdc2eb5
commit fe7bd75c91
14 changed files with 21 additions and 24 deletions

View File

@ -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
{