Suppress warning.
authordrepper <drepper>
Thu, 11 Sep 1997 03:04:16 +0000 (03:04 +0000)
committerdrepper <drepper>
Thu, 11 Sep 1997 03:04:16 +0000 (03:04 +0000)
resolv/res_send.c

index cde6a84..a4d242e 100644 (file)
@@ -468,7 +468,7 @@ read_len:
                                while (len != 0) {
                                        char junk[PACKETSZ];
 
-                                       n = (len > sizeof(junk)
+                                       n = ((size_t) len > sizeof(junk)
                                             ? sizeof(junk)
                                             : len);
                                        if ((n = read(s, junk, n)) > 0)