diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index e4d7d5af70f4a3b6ba51447448f18ed60f4c2250..32569e39823416a25bc0f0bb88d1feb9faafcff1 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -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);