fix compiler warnings in 64-bit environment.