Fixed compiler warning in webclient.

This commit is contained in:
Fotis Panagiotopoulos 2022-10-27 14:00:09 +03:00 committed by Xiang Xiao
parent 9f8f70e32a
commit 390f1e2c60

View File

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