main: fix 2 minor warnings for win64 build on debian squeeze