Skip to content

Commit 41b4760

Browse files
committed
Fixed windows compile issue
1 parent a8da48c commit 41b4760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/FAST/Utility.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ void downloadAndExtractZipFile(const std::string& URL, const std::string& destin
13891389

13901390
std::string getAbsolutePath(std::string path) {
13911391
#ifdef WIN32
1392-
int BUFFER_SIZE = 4096;
1392+
constexpr int BUFFER_SIZE = 4096;
13931393
char pathBuffer[BUFFER_SIZE];
13941394
char* file_part_ptr = NULL;
13951395
DWORD length = GetFullPathNameA(

0 commit comments

Comments
 (0)