Fix 64bit-specific warnings