diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-03-29 16:30:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-03-29 16:30:35 +0200 |
commit | d1837ad90a31bb70be4d44b4f745ae696e21e972 (patch) | |
tree | e2f547909404b02cff985a1cccf37927eee78072 /lib/smtp.c | |
parent | fd10ed56d5708ffee057b2c92ae9cfd77ccec767 (diff) |
use (s)size_t for string lengths to fix compiler warns
Diffstat (limited to 'lib/smtp.c')
-rw-r--r-- | lib/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp.c b/lib/smtp.c index 073925d1b..2f7350b97 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -1059,7 +1059,7 @@ CURLcode Curl_smtp_escape_eob(struct connectdata *conn, ssize_t nread) /* This loop can be improved by some kind of Boyer-Moore style of approach but that is saved for later... */ for(i = 0, si = 0; i < nread; i++, si++) { - int left = nread - i; + ssize_t left = nread - i; if(left>= (SMTP_EOB_LEN-smtpc->eob)) { if(!memcmp(SMTP_EOB+smtpc->eob, &data->req.upload_fromhere[i], |