Why is 32-bit pointer sign-extended when cast to uint64_t?

前端 未结 0 637
渐次进展
渐次进展 2021-01-25 02:22

When compiled as a 32-bit process, the following code prints ffffffff82223333 instead of 82223333, so it seems like a pointer is always sign-extended w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题