Converting 32-bit Application Into 64-bit Application in C

前端 未结 9 1081
悲&欢浪女
悲&欢浪女 2020-12-04 17:02

I am presently working on converting a 32bits application into a 64bits application in C. This application is currently working on x86 architecture (Windows, osx, Unix, Linu

9条回答
  •  粉色の甜心
    2020-12-04 17:35

    If you used the correct types for your values - eg. size_t, ptrdiff_t, uintptr_t, the fixed sized int types from stdint.h where appropriate - and did not hardcode value sizes, your code should work out of the box.

提交回复
热议问题