From 2c4e3a8061130493bd196564f096b677c5528fc1 Mon Sep 17 00:00:00 2001 From: John Hughes Date: Fri, 24 May 2002 10:19:44 +0000 Subject: fix unsigned arithmetic bug in previous change --- stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream.c') diff --git a/stream.c b/stream.c index a8ea11e..42bfcc8 100644 --- a/stream.c +++ b/stream.c @@ -505,7 +505,7 @@ int len; int c = 0; struct t_opthdr hdr; - while (len >= sizeof hdr) { + while (len >= (int) sizeof hdr) { if (umove(tcp, addr, &hdr) < 0) break; if (c++) { tprintf (", "); -- cgit v1.2.3