Skip to content

Commit b709cc3

Browse files
bandotibovine
authored andcommitted
Add const to match tclExtdInt.h TclXOSInetAtoN def
1 parent 10b0bea commit b709cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win/tclXwinOS.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ TclXOSexecl (Tcl_Interp *interp,
10751075
*/
10761076
int
10771077
TclXOSInetAtoN (Tcl_Interp *interp,
1078-
char *strAddress,
1078+
const char *strAddress,
10791079
struct in_addr *inAddress)
10801080
{
10811081
inAddress->s_addr = inet_addr (strAddress);

0 commit comments

Comments
 (0)