Skip to content
Snippets Groups Projects
Commit 2c9644b8 authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning

parent 99daca5a
No related branches found
No related tags found
No related merge requests found
......@@ -408,7 +408,7 @@ static CURLcode imap_state_fetch_resp(struct connectdata *conn,
that there may even be additional "headers" after the body. */
size_t chunk = pp->cache_size;
if(chunk > filesize)
if(chunk > (size_t)filesize)
/* the conversion from curl_off_t to size_t is always fine here */
chunk = (size_t)filesize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment