]> granicus.if.org Git - curl/commitdiff
silence two cases of "comparison between signed and unsigned"
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Feb 2007 22:02:13 +0000 (22:02 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Feb 2007 22:02:13 +0000 (22:02 +0000)
lib/http_ntlm.c

index 8e910a2904917a324cb14efe263353b244f5bf03..cc307f72d58c37afe85026c096e38bdd1e4af912 100644 (file)
@@ -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;
     }