From c4ac192d453068baaa55fa09b585f8d8b1bea413 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Wed, 8 Dec 2021 20:27:27 +0800 Subject: [PATCH] [TS-530] fix build error --- src/client/src/tscStream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscStream.c b/src/client/src/tscStream.c index 7d0dc2e4b1..62443b23ff 100644 --- a/src/client/src/tscStream.c +++ b/src/client/src/tscStream.c @@ -357,7 +357,7 @@ bool sendChildTalbe(TAOS *taos, char *superName, char *tableName, TAOS_FIELD *fi // obtain dbname char * p = strstr(superName, "."); if(p) { // if have db prefix , under this db create table - int32_t len = p - superName; + int32_t len = (int32_t)(p - superName); strncpy(dbName, superName, len); dbName[len] = 0; // append str end sprintf(dbTable, "%s.%s", dbName, tableName); -- GitLab