From: Zachary Ware Date: Tue, 5 Aug 2014 16:54:34 +0000 (-0500) Subject: Closes #22136: Fix MSVC compiler warnings introduced by #22085 X-Git-Tag: v3.5.0a1~1113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=037605b50e512ba89a6570842508cab927c9a0ac;p=python Closes #22136: Fix MSVC compiler warnings introduced by #22085 --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f71ede85db..b5f23bc9d1 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -228,13 +228,13 @@ typedef struct { int dispatching; /* We cannot include tclInt.h, as this is internal. So we cache interesting types here. */ - Tcl_ObjType *BooleanType; - Tcl_ObjType *ByteArrayType; - Tcl_ObjType *DoubleType; - Tcl_ObjType *IntType; - Tcl_ObjType *ListType; - Tcl_ObjType *ProcBodyType; - Tcl_ObjType *StringType; + const Tcl_ObjType *BooleanType; + const Tcl_ObjType *ByteArrayType; + const Tcl_ObjType *DoubleType; + const Tcl_ObjType *IntType; + const Tcl_ObjType *ListType; + const Tcl_ObjType *ProcBodyType; + const Tcl_ObjType *StringType; } TkappObject; #define Tkapp_Interp(v) (((TkappObject *) (v))->interp)