diff options
author | Yang Tse <yangsita@gmail.com> | 2009-12-14 16:05:57 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-12-14 16:05:57 +0000 |
commit | 2c9644b812cbe26d9da146d69158c6ba0bb39836 (patch) | |
tree | 85b424cbbdf307f935eef085be841dd2d1c536ad /lib | |
parent | 99daca5a48f8bce2b8455acc1693f9542c539f0a (diff) |
Fix compiler warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c index fecba3c25..505a6ba21 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -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; |