Corrected some MSVC warnings with old (<2009) packetvers

Follow-up to df0a324, thanks to Beret

Signed-off-by: Haru <haru@dotalux.com>