怎么解决warning
uint32_t high =1
uint32_t low=2
uint64_t ContentSize = (high << 32ULL) | low;
编译报
warning: left shift count >= width of type
[解决办法]
int的左移最多 31位,超过了肯定错误啊
改为
uint64_t high =1
uint64_t low=2
uint64_t ContentSize = (high << 32ULL) | low;
[解决办法]
+1 原来是这样
[解决办法]
++