]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ascii.c
Replace '> 0' with '!= 0' in some unsigned expression tests
[tcpdump] / print-ascii.c
index 71db40dd243fa80f7f487d2d4b0959e4009f2769..4006c42ba5a62e21f2a10132bcf59076539cc2d5 100644 (file)
@@ -73,7 +73,7 @@ ascii_print(netdissect_options *ndo,
                truncated = TRUE;
        }
        ND_PRINT("\n");
-       while (length > 0) {
+       while (length != 0) {
                s = GET_U_1(cp);
                cp++;
                length--;