[td-4385]fix compiler error on arm32

This commit is contained in:
Haojun Liao 2021-05-29 15:48:24 +08:00
parent be8853ffee
commit ebd919bc43
1 changed files with 3 additions and 2 deletions

View File

@ -919,8 +919,9 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setTableNameTagsI
}
int32_t code = taos_stmt_set_tbname_tags((void*)stmt, name, tagsBind);
jniDebug("jobj:%p, conn:%p, set table name:%s, numOfTags:%d", jobj, tsconn, name,
numOfTags);
int32_t nTags = (int32_t) numOfTags;
jniDebug("jobj:%p, conn:%p, set table name:%s, numOfTags:%d", jobj, tsconn, name, nTags);
tfree(tagsData);
tfree(lengthArray);