fix: window and arm platform build

This commit is contained in:
Alex Duan 2023-09-19 16:07:15 +08:00
parent 20cded7d6e
commit 8066c68b2d
1 changed files with 1 additions and 0 deletions

View File

@ -534,6 +534,7 @@ void cfgDumpItemValue(SConfigItem *pItem, char *buf, int32_t bufSize, int32_t *p
len = snprintf(buf, bufSize, "%" PRId64, pItem->i64);
break;
case CFG_DTYPE_FLOAT:
case CFG_DTYPE_DOUBLE:
len = snprintf(buf, bufSize, "%f", pItem->fval);
break;
case CFG_DTYPE_STRING: