Skip to content

Commit

Permalink
Fix windows build for initFileMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tchen committed Feb 11, 2020
1 parent d21a6d4 commit 4eeeccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/FileMetadataInitializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void Snowflake::Client::FileMetadataInitializer::populateSrcLocUploadMetadata(
LARGE_INTEGER fileSize;
fileSize.LowPart = fdd.nFileSizeLow;
fileSize.HighPart = fdd.nFileSizeHigh;
initFileMetadata(dirPath, (char *)fdd.cFileName, (long)fileSize.QuadPart);
initUploadFileMetadata(dirPath, (char *)fdd.cFileName, (long)fileSize.QuadPart);
}
} while (FindNextFile(hFind, &fdd) != 0);

Expand Down

0 comments on commit 4eeeccf

Please sign in to comment.