Fix the _rest_ of the Windows compile warnings. (ahem)
[u/mdw/putty] / windows / winnet.c
index da291c3..9f5c993 100644 (file)
@@ -1691,7 +1691,7 @@ char *get_hostname(void)
            hostname = NULL;
            break;
        }
-    } while (strlen(hostname) >= len-1);
+    } while (strlen(hostname) >= (size_t)(len-1));
     return hostname;
 }