From 004ee2999ce348955942cce726f8fc571cd5085e Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 28 May 2021 12:47:28 +0800 Subject: [PATCH] [td-225] --- src/client/src/tscUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 88615b0740..9d44dd1cdc 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -4274,7 +4274,7 @@ static int32_t doAddTableName(char* nextStr, char** str, SArray* pNameArray, SSq if (nextStr == NULL) { strncpy(tablename, *str, TSDB_TABLE_FNAME_LEN); - len = strlen(tablename); + len = (int32_t) strlen(tablename); } else { memcpy(tablename, *str, nextStr - (*str)); len = (int32_t)(nextStr - (*str)); -- GitLab