[TD-225]fix compiler error.
This commit is contained in:
parent
146d7153c0
commit
2b126c4106
|
@ -99,7 +99,7 @@ typedef struct tstr {
|
||||||
*(uint32_t *)(_v) = (uint32_t)(_data); \
|
*(uint32_t *)(_v) = (uint32_t)(_data); \
|
||||||
break; \
|
break; \
|
||||||
default: \
|
default: \
|
||||||
*(int32_t *)(_v) = (_data); \
|
*(int32_t *)(_v) = (int32_t)(_data); \
|
||||||
break; \
|
break; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
|
@ -3778,7 +3778,7 @@ void twa_function_finalizer(SQLFunctionCtx *pCtx) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void interp_function_impl(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) {
|
if (type == TSDB_FILL_NONE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue