提交 9bf2f5c2 编写于 作者: H Hongze Cheng

fix compile problem

上级 3bdde806
...@@ -455,7 +455,7 @@ int tsdbLoadFileHeader(SFile *pFile, uint32_t *version) { ...@@ -455,7 +455,7 @@ int tsdbLoadFileHeader(SFile *pFile, uint32_t *version) {
void tsdbGetFileInfoImpl(char *fname, uint32_t *magic, int64_t *size) { void tsdbGetFileInfoImpl(char *fname, uint32_t *magic, int64_t *size) {
uint32_t version = 0; uint32_t version = 0;
SFile file = {0}; SFile file;
SFile * pFile = &file; SFile * pFile = &file;
strncpy(pFile->fname, fname, TSDB_FILENAME_LEN); strncpy(pFile->fname, fname, TSDB_FILENAME_LEN);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册