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)
committerMatthieu Darbois <mayeut@users.noreply.github.com>
Thu, 14 Jul 2016 08:49:17 +0000 (10:49 +0200)
commite40c28c2e89c30ebb682fe2fabef10930e039c1f
treee4d3b2b494855edffaff20a1bf12fd03726e86b9
parent18da6155b2b69472d36ef8b13fd82878966b451c
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