commit | ea35666f50949f9fad3c63c851f4c4ed09b828ab | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Thu Aug 27 12:02:40 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 10:34:26 2015 +0200 |
tree | de20ac42ed8bc974cf96d06ab513753020f98e7f | |
parent | 4d04cdcd12d81756f214aeb36009a6111b6dc85b [diff] [blame] |
Fix -Wshadow warnings Checked that it is supported by gcc 4.2.1 (FreeBSD 9). fixes #240
diff --git a/programs/test/udp_proxy.c b/programs/test/udp_proxy.c index 645f94d..c49c46c 100644 --- a/programs/test/udp_proxy.c +++ b/programs/test/udp_proxy.c
@@ -389,7 +389,7 @@ while( cur < end ) { - size_t len = ( ( cur[11] << 8 ) | cur[12] ) + 13; + len = ( ( cur[11] << 8 ) | cur[12] ) + 13; id = len % sizeof( dropped ); ++dropped[id];