aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 51b100f..bd1c1af 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -33,7 +33,7 @@ int main(int argc, char* argv[])
/**
* jin._dir is the folder of jin binary executable
*/
-#define BUFFER_SIZE 512
+ const int BUFFER_SIZE = 512;
char buffer[BUFFER_SIZE];
#ifdef _WIN32
_getcwd(buffer, BUFFER_SIZE);