obmc-console: Clean up invalid sign comparisons
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I83fae6857620ca2913952bea597c1299dd962620
diff --git a/test/test-client-escape.c b/test/test-client-escape.c
index 921009c..6567024 100644
--- a/test/test-client-escape.c
+++ b/test/test-client-escape.c
@@ -33,7 +33,7 @@
struct str_esc_state str;
} esc_state;
const char *in[4];
- int n_in;
+ size_t n_in;
const char *exp_out;
int exp_rc;
};
@@ -42,8 +42,8 @@
struct console_client client;
struct test *test;
uint8_t out[4096];
- int cur_in;
- int cur_out;
+ size_t cur_in;
+ size_t cur_out;
};
@@ -219,7 +219,7 @@
int main(void)
{
- int i;
+ size_t i;
for (i = 0; i < ARRAY_SIZE(tests); i++)
run_one_test(i, &tests[i], &ctxs[i]);