提交 e23b3cf8 编写于 作者: dengyihao's avatar dengyihao

fix compile failure

上级 561baa37
......@@ -1122,7 +1122,7 @@ uint64_t taosHton64(uint64_t val) {
uint64_t taosNtoh64(uint64_t val) {
#if defined(WINDOWS) || defined(DARWIN)
taosHton64(val);
return taosHton64(val);
#else
if (__BYTE_ORDER == __LITTLE_ENDIAN) {
return (((uint64_t)htonl((int)((val << 32) >> 32))) << 32) | (unsigned int)htonl((int)(val >> 32));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册