From 915583d88e2f367aa46c5591f7e31f19e4845ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Sun, 24 Sep 2023 14:06:17 +0200 Subject: [PATCH] refactor: bufferSize is const --- NorthstarDLL/mods/autodownload/moddownloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NorthstarDLL/mods/autodownload/moddownloader.cpp b/NorthstarDLL/mods/autodownload/moddownloader.cpp index 0cec8f32d..e7b9a77d2 100644 --- a/NorthstarDLL/mods/autodownload/moddownloader.cpp +++ b/NorthstarDLL/mods/autodownload/moddownloader.cpp @@ -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;