aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/test-qcdm-serial-port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test-qcdm-serial-port.c b/src/tests/test-qcdm-serial-port.c
index e6899051..c5233f9c 100644
--- a/src/tests/test-qcdm-serial-port.c
+++ b/src/tests/test-qcdm-serial-port.c
@@ -72,7 +72,7 @@ wait_for_child (TestData *d, guint32 timeout)
static void
print_buf (const char *detail, const char *buf, gsize len)
{
- int i = 0;
+ guint i = 0;
gboolean newline = FALSE;
g_print ("%s (%zu) ", detail, len);
@@ -116,7 +116,7 @@ server_wait_request (int fd, char *buf, gsize len)
struct timeval timeout = { 1, 0 };
char readbuf[1024];
ssize_t bytes_read;
- int total = 0, retries = 0;
+ guint total = 0, retries = 0;
gsize decap_len = 0;
FD_ZERO (&in);