mirror of
https://github.com/curl/curl.git
synced 2026-07-24 10:57:16 +03:00
Fix compiler warning
This commit is contained in:
parent
99daca5a48
commit
2c9644b812
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue