Fix 1 error & 1 warning under Cygwin (64-bit, gcc 4.8.2)