Fix warnings associated with 64-bit/32-bit compiler.