fix memory out of bounds in to_cstring

This commit is contained in:
obdev
2022-10-25 18:08:45 +08:00
committed by wangzelin.wzl
parent 097cd3deee
commit 8e5fcb688f
3 changed files with 25 additions and 40 deletions

View File

@ -202,7 +202,7 @@ public:
private:
BufList list_;
int64_t level_;
int idx_;
uint64_t idx_;
};
template <typename T>