fix windows compile error

This commit is contained in:
dapan1121 2021-05-28 10:00:20 +08:00
parent 7b602ab658
commit 5789abb8be
1 changed files with 1 additions and 1 deletions

View File

@ -1338,7 +1338,7 @@ int stmtGenInsertStatement(SSqlObj* pSql, STscStmt* pStmt, const char* name, TAO
return TSDB_CODE_TSC_APP_ERROR;
}
ret = converToStr(str + len, tags[j].buffer_type, tags[j].buffer, tags[j].length ? *tags[j].length : -1, &l);
ret = converToStr(str + len, tags[j].buffer_type, tags[j].buffer, tags[j].length ? (int32_t)*tags[j].length : -1, &l);
}
++j;