Fix -Wabsolute-value in TAP Compare stat (Found by Clang 3.5)
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Sat, 15 Mar 2014 10:01:03 +0000 (11:01 +0100)
committerAnders Broman <a.broman58@gmail.com>
Sat, 15 Mar 2014 11:42:48 +0000 (11:42 +0000)
commit5af1e3a9582d6c1b5c4eb110840e74d0518e59dc
tree678be9d0fc087ee2ac31b0904e9f6ccaf6ba6b3d
parent813bc10e8fdf5df2dc876b6e1da90d9e1de70802
Fix -Wabsolute-value in TAP Compare stat (Found by Clang 3.5)

tap-comparestat.c:321:55: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
tap-comparestat.c:321:55: note: remove the call to 'abs' since unsigned values cannot be negative
tap-comparestat.c:347:56: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
tap-comparestat.c:347:56: note: remove the call to 'abs' since unsigned values cannot be negative

Change-Id: Ice950228d844373abcbd0cdc8ea05079b8b933d0
Reviewed-on: https://code.wireshark.org/review/676
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ui/cli/tap-comparestat.c