[td-225] fix compiler error.

This commit is contained in:
Haojun Liao 2020-10-26 16:41:32 +08:00
parent c615ca4ce6
commit e53c433569
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ static void doInitGlobalConfig(void) {
cfg.valType = TAOS_CFG_VTYPE_INT32;
cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW;
cfg.minValue = -1;
cfg.maxValue = 500000000000.0;
cfg.maxValue = 500000000000.0f;
cfg.ptrLength = 0;
cfg.unitType = TAOS_CFG_UTYPE_BYTE;
taosInitConfigOption(cfg);