pcap_rw: Fix compiler warnings
authorTobias Klauser <tklauser@distanz.ch>
Fri, 9 Aug 2013 10:22:32 +0000 (12:22 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 9 Aug 2013 10:22:32 +0000 (12:22 +0200)
commitb38e526c49bcd410908193608291bacd39ac1657
treed360258a4e0ddbb50211ce8ea30c42e1a03d184c
parenta2e70ae5b06ac6fa09cce3848c2ed795967b174f
pcap_rw: Fix compiler warnings

Fix the following compiler warnings that occur when building with "-W
-Wall -Wextra":

pcap_rw.c: In function ‘pcap_rw_write’:
pcap_rw.c:30:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pcap_rw.c: In function ‘pcap_rw_read’:
pcap_rw.c:50:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
pcap_rw.c