diff --git a/source/util/src/tconfig.c b/source/util/src/tconfig.c index 756259f0d5..aa9f6d6e45 100644 --- a/source/util/src/tconfig.c +++ b/source/util/src/tconfig.c @@ -321,6 +321,7 @@ int32_t cfgSetItem(SConfig *pCfg, const char *name, const char *value, ECfgSrcTy case CFG_DTYPE_INT64: return cfgSetInt64(pItem, value, stype); case CFG_DTYPE_FLOAT: + case CFG_DTYPE_DOUBLE: return cfgSetFloat(pItem, value, stype); case CFG_DTYPE_STRING: return cfgSetString(pItem, value, stype); @@ -506,6 +507,8 @@ const char *cfgDtypeStr(ECfgDataType type) { return "int64"; case CFG_DTYPE_FLOAT: return "float"; + case CFG_DTYPE_FLOAT: + return "double"; case CFG_DTYPE_STRING: return "string"; case CFG_DTYPE_DIR: @@ -632,6 +635,7 @@ void cfgDumpCfg(SConfig *pCfg, bool tsc, bool dump) { } break; case CFG_DTYPE_FLOAT: + case CFG_DTYPE_DOUBLE: if (dump) { printf("%s %s %.2f", src, name, pItem->fval); printf("\n"); diff --git a/utils/TSZ/sz/src/TightDataPointStorageD.c b/utils/TSZ/sz/src/TightDataPointStorageD.c index 616e2edd95..a1de4ee29c 100644 --- a/utils/TSZ/sz/src/TightDataPointStorageD.c +++ b/utils/TSZ/sz/src/TightDataPointStorageD.c @@ -15,7 +15,6 @@ #include "Huffman.h" #include "transcode.h" #include "fse.h" -#include void new_TightDataPointStorageD_Empty(TightDataPointStorageD **this) { diff --git a/utils/TSZ/sz/src/TightDataPointStorageF.c b/utils/TSZ/sz/src/TightDataPointStorageF.c index b204437f5f..1653ae3c81 100644 --- a/utils/TSZ/sz/src/TightDataPointStorageF.c +++ b/utils/TSZ/sz/src/TightDataPointStorageF.c @@ -15,7 +15,6 @@ #include "Huffman.h" #include "transcode.h" #include "fse.h" -#include void new_TightDataPointStorageF_Empty(TightDataPointStorageF **this) {