diff options
author | John Hughes <john@Calva.COM> | 2002-05-24 10:19:44 +0000 |
---|---|---|
committer | John Hughes <john@Calva.COM> | 2002-05-24 10:19:44 +0000 |
commit | 2c4e3a8061130493bd196564f096b677c5528fc1 (patch) | |
tree | 00288717989dffe3707d92479df598eba2b8d39b /stream.c | |
parent | 38ae88d332acd9f86a30d58158e306d795d98977 (diff) | |
download | strace-2c4e3a8061130493bd196564f096b677c5528fc1.tar.gz strace-2c4e3a8061130493bd196564f096b677c5528fc1.tar.bz2 strace-2c4e3a8061130493bd196564f096b677c5528fc1.tar.xz |
fix unsigned arithmetic bug in previous change
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 (", "); |