From 8bbef2865455754425a84b86680a89bff8aa7691 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.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