net: coerce the result of htonl before printing
authorSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 19 Aug 2020 20:57:05 +0000 (21:57 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 12 Sep 2020 10:05:38 +0000 (11:05 +0100)
commit0cef322a943e6691277fe39472ef8bf488164717
treea7ccde452c1e061a0617255d06504b8d4ac05d6b
parent0a7022820e85299364e29113e16d35f4350361f6
net: coerce the result of htonl before printing

Technically htonl() returns a long on Windows
(https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-htonl
) which upsets clang.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
engines/net.c