From 2cda55de736882afa10335989bb6d1f81133101a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sat, 21 May 2022 16:13:38 +0100 Subject: [PATCH] ECC-1393: Fix error C2440 --- tools/wingetopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wingetopt.c b/tools/wingetopt.c index 5eb965cdb..923026d06 100644 --- a/tools/wingetopt.c +++ b/tools/wingetopt.c @@ -21,7 +21,7 @@ int getopt(int argc, char* argv[], const char* optstring) { static char* next = 0; char c; - char* cp; + const char* cp; if (optind == 0) next = 0;