This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 390f1e2c6 Fixed compiler warning in webclient.
390f1e2c6 is described below

commit 390f1e2c60d3a11fc2620a147e0cb653b2285992
Author: Fotis Panagiotopoulos <f.pa...@amco.gr>
AuthorDate: Thu Oct 27 14:00:09 2022 +0300

    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;

Reply via email to