提交 2b126c41 编写于 作者: H Haojun Liao

[TD-225]fix compiler error.

上级 146d7153
......@@ -99,7 +99,7 @@ typedef struct tstr {
*(uint32_t *)(_v) = (uint32_t)(_data); \
break; \
default: \
*(int32_t *)(_v) = (_data); \
*(int32_t *)(_v) = (int32_t)(_data); \
break; \
} \
} while (0)
......
......@@ -3778,7 +3778,7 @@ void twa_function_finalizer(SQLFunctionCtx *pCtx) {
*/
static void interp_function_impl(SQLFunctionCtx *pCtx) {
int32_t type = pCtx->param[2].i64;
int32_t type = (int32_t) pCtx->param[2].i64;
if (type == TSDB_FILL_NONE) {
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册