jpwl: Remove non-portable data type u_int16_t (fix issue #796) (#797)
authorStefan Weil <sw@weilnetz.de>
Thu, 14 Jul 2016 08:49:17 +0000 (10:49 +0200)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 13 Sep 2016 09:00:07 +0000 (11:00 +0200)
commiteebd59a6d694ab88ef1dde9bf3187a5f8053f345
tree31f61395027bb79f140c370fe4a353eed9e232ac
parentae2095ef1467bc3abc3d1884e9a5f0e3dda2f8f1
jpwl: Remove non-portable data type u_int16_t (fix issue #796) (#797)

The type casts which used this data type can be removed by changing
the signature of function swap16. As this function is called with
unsigned variables, this change is reasonable.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
src/bin/jpwl/convert.c