changeset: 92017:7ed237478fcc user: Zachary Ware date: Tue Aug 05 11:54:34 2014 -0500 files: Modules/_tkinter.c description: Closes #22136: Fix MSVC compiler warnings introduced by #22085 diff -r 57740d19f5c2 -r 7ed237478fcc Modules/_tkinter.c --- a/Modules/_tkinter.c Tue Aug 05 17:56:52 2014 +0200 +++ b/Modules/_tkinter.c Tue Aug 05 11:54:34 2014 -0500 @@ -228,13 +228,13 @@ 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)