From c0b3511b206cedee77a5844314561bc4444a2ed7 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 2 Feb 2024 11:12:24 +0100 Subject: [PATCH] compile with gcc-14 fails due to `-Werror=incompatible-pointer-types` Patch provided by Mamoru Tasaka. --- src/tclspice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tclspice.c b/src/tclspice.c index 367eb334e..7e8e47b92 100644 --- a/src/tclspice.c +++ b/src/tclspice.c @@ -2433,7 +2433,7 @@ tmeasure TCL_CMDPROCARGS(clientData, interp, argc, argv) return TCL_ERROR; } - wl = wl_build((char **)argv); + wl = wl_build((const char * const *)argv); get_measure2(wl, &mvalue, NULL, FALSE);