Fixed some recent GCC + 64-bit arch warnings.