提交 15b039d2 编写于 作者: H Hongze Cheng

fix windows compile issure

上级 08069541
......@@ -17,9 +17,9 @@
#define TSDB_MAX_SUBBLOCKS 8
static FORCE_INLINE int TSDB_KEY_FID(TSKEY key, int32_t days, int8_t precision) {
if (key < 0) {
return -((-key) / tsMsPerDay[precision] / days + 1);
return (int)(-((-key) / tsMsPerDay[precision] / days + 1));
} else {
return (key / tsMsPerDay[precision] / days);
return (int)((key / tsMsPerDay[precision] / days));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册