Fix warnings for 64bit cygwin