Skip to content

Commit

Permalink
refactor: bufferSize is const
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Sep 24, 2023
1 parent 99127c1 commit 915583d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NorthstarDLL/mods/autodownload/moddownloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void ModDownloader::ExtractMod(fs::path modPath)
}

// Create file
int bufferSize = 8192;
const int bufferSize = 8192;
void* buffer;
int err = UNZ_OK;
FILE* fout = NULL;
Expand Down

0 comments on commit 915583d

Please sign in to comment.