From 390f1e2c60d3a11fc2620a147e0cb653b2285992 Mon Sep 17 00:00:00 2001 From: Fotis Panagiotopoulos Date: Thu, 27 Oct 2022 14:00:09 +0300 Subject: [PATCH] Fixed compiler warning in webclient. --- netutils/webclient/webclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c index 41cfe94d9..89654a3b8 100644 --- a/netutils/webclient/webclient.c +++ b/netutils/webclient/webclient.c @@ -1897,7 +1897,7 @@ int webclient_perform(FAR struct webclient_context *ctx) ws->state_len); ws->state_len -= ssz; ws->state_offset += ssz; - DEBUGASSERT(ws->state_offset <= ws->data_len); + DEBUGASSERT((size_t)ws->state_offset <= ws->data_len); if ((size_t)ws->state_offset == ws->data_len) { ws->data_buffer = NULL;