aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-21 22:02:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-21 22:02:13 +0000
commit39aac6352159b4ba92463ec95b9e3df49a5b6693 (patch)
treeb5d2a6bfd1027819bcae49313b591a1a836afeb9
parentf19d333ef6b067809cb2b0c153fbd3f5db4321a1 (diff)
silence two cases of "comparison between signed and unsigned"
-rw-r--r--lib/http_ntlm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 8e910a290..cc307f72d 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -993,7 +993,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
LONGQUARTET(ntlm->flags));
DEBUGASSERT(size==64);
- DEBUGASSERT(size == lmrespoff);
+ DEBUGASSERT(size == (size_t)lmrespoff);
/* We append the binary hashes */
if(size < (sizeof(ntlmbuf) - 0x18)) {
memcpy(&ntlmbuf[size], lmresp, 0x18);
@@ -1007,7 +1007,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
#if USE_NTRESPONSES
if(size < (sizeof(ntlmbuf) - 0x18)) {
- DEBUGASSERT(size == ntrespoff);
+ DEBUGASSERT(size == (size_t)ntrespoff);
memcpy(&ntlmbuf[size], ntresp, 0x18);
size += 0x18;
}