commit | 2c4e3a8061130493bd196564f096b677c5528fc1 | [log] [tgz] |
---|---|---|
author | John Hughes <john@Calva.COM> | Fri May 24 10:19:44 2002 +0000 |
committer | John Hughes <john@Calva.COM> | Fri May 24 10:19:44 2002 +0000 |
tree | 00288717989dffe3707d92479df598eba2b8d39b | |
parent | 38ae88d332acd9f86a30d58158e306d795d98977 [diff] [blame] |
fix unsigned arithmetic bug in previous change
diff --git a/stream.c b/stream.c index a8ea11e..42bfcc8 100644 --- a/stream.c +++ b/stream.c
@@ -505,7 +505,7 @@ 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 (", ");