From a25fd2bcd1bf0a2565251500b8864b87b7ea386a Mon Sep 17 00:00:00 2001 From: Xiaoyu Wang Date: Thu, 11 Nov 2021 03:00:40 -0500 Subject: [PATCH] fixed windows compile --- src/query/src/qFilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qFilter.c b/src/query/src/qFilter.c index c725eca55d..8909451178 100644 --- a/src/query/src/qFilter.c +++ b/src/query/src/qFilter.c @@ -784,7 +784,7 @@ int32_t filterGetFiledByData(SFilterInfo *info, int32_t type, void *v, int32_t d int32_t filterAddField(SFilterInfo *info, void *desc, void **data, int32_t type, SFilterFieldId *fid, int32_t dataLen, bool freeIfExists) { - int64_t idx = -1; + int32_t idx = -1; uint32_t *num; num = &info->fields[type].num; -- GitLab