trafgen: fix signedness warning in cleanup_packets
commit18f5d4dde7ef18efa0489f2007f5ebeed89975ea
authorTobias Klauser <tklauser@distanz.ch>
Tue, 6 Mar 2018 17:42:10 +0000 (6 18:42 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 6 Mar 2018 17:42:10 +0000 (6 18:42 +0100)
treebf5e9e25335c12eb7ab11f0408607b5cad6f8b6e
parent0cba196c4e8d02c5d96d9eb945583869afde5d2d
trafgen: fix signedness warning in cleanup_packets

This fixes the following GCC warning:

trafgen_parser.y: In function ‘cleanup_packets’:
trafgen_parser.y:1479:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (k = 0; k < hdr->sub_headers_count; k++)

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen_parser.y