From b578690d5ba8de11376888e95c0f95eb04c025e9 Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Fri, 17 Sep 2021 15:33:22 +0800 Subject: [PATCH] [TD-6645/enhance]: fix windows compilation error --- src/client/src/tscParseLineProtocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index 229ab86ec5..22392ba306 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -1432,7 +1432,7 @@ static bool convertStrToNumber(TAOS_SML_KV *pVal, char *str, SSmlLinesInfo* info uint64_t val_u; double val_d; - strntolower_s(str, str, strlen(str)); + strntolower_s(str, str, (int32_t)strlen(str)); if (IS_FLOAT_TYPE(type)) { val_d = strtod(str, NULL); } else { -- GitLab