refactor the code to eliminate warnings when compiling for 64-bit target