diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-01-17 15:15:21 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-01-17 15:15:21 +0000 |
commit | 7b704e173c833957f54f98979c03b1e7927d3f60 (patch) | |
tree | 5230cfa2a6dee7c71d48a64120cc305fad6edf95 | |
parent | 6045d051d73d02271533dffd2352b1425b7a56ee (diff) |
Supress "comparison between signed and unsigned" warning.
-rw-r--r-- | lib/sendf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 9ec40adc6..b66febe32 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -565,7 +565,7 @@ static int showit(struct SessionHandle *data, curl_infotype type, #ifdef CURL_DOES_CONVERSIONS char buf[BUFSIZE+1]; - int conv_size; + size_t conv_size = 0; switch(type) { case CURLINFO_HEADER_OUT: @@ -582,7 +582,7 @@ static int showit(struct SessionHandle *data, curl_infotype type, * We want to convert just the headers, leaving the data as-is. */ if(size > 4) { - int i; + size_t i; for(i = 0; i < size-4; i++) { if(memcmp(&buf[i], "\x0d\x0a\x0d\x0a", 4) == 0) { /* convert everthing through this CRLFCRLF but no further */ |