Fix build
Fix build

Fix casting to make it build with -Wcast-equal,-Werror

Sponsored-by:	Rubicon Communications (Netgate)

dennypage/dpinger,dennypage/dpinger,dennypage/dpinger,pfsense/dpinger,pfsense/dpinger,dennypage/dpinger,pfsense/dpinger