From 263a0f6f6f0cdedd563bb7ae9723db6b096486b2 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周六, 19 10月 2019 08:50:45 +0800 Subject: [PATCH] issue #64 , issue #56 (part) --- src/library/base/logger.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/library/base/logger.c b/src/library/base/logger.c index 089fc85..a6dc5f3 100644 --- a/src/library/base/logger.c +++ b/src/library/base/logger.c @@ -33,7 +33,7 @@ strncpy(logpath, folder, MAX_PATH); strncat(logpath, "/open-license.log", MAX_PATH - strlen(logpath)); #else - int plen = GetTempPath(MAX_PATH, logpath); + const int plen = GetTempPath(MAX_PATH, logpath); if(plen == 0) { fprintf(stderr, "Error getting temporary directory path"); } -- Gitblit v1.9.1