我有一个unsigned并希望将其转换为uint64_t(如果可能的话).
unsigned
uint64_t
我怎么做?如果可能的话,我想避免依赖于未定义的行为.
谢谢!
c unsigned c99
c ×1
c99 ×1
unsigned ×1