From b709cc3b879f90f56e2650d8e0e6b491d39aadd0 Mon Sep 17 00:00:00 2001 From: Mason M Date: Fri, 12 Jan 2024 20:40:56 -0400 Subject: [PATCH] Add const to match tclExtdInt.h TclXOSInetAtoN def --- win/tclXwinOS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tclXwinOS.c b/win/tclXwinOS.c index bdfbab7f..8107c0eb 100644 --- a/win/tclXwinOS.c +++ b/win/tclXwinOS.c @@ -1075,7 +1075,7 @@ TclXOSexecl (Tcl_Interp *interp, */ int TclXOSInetAtoN (Tcl_Interp *interp, - char *strAddress, + const char *strAddress, struct in_addr *inAddress) { inAddress->s_addr = inet_addr (strAddress);