[Python-checkins] cpython: Closes #22136: Fix MSVC compiler warnings introduced by #22085
zach.ware
python-checkins at python.org
Tue Aug 5 18:55:11 CEST 2014
http://hg.python.org/cpython/rev/7ed237478fcc
changeset: 92017:7ed237478fcc
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Aug 05 11:54:34 2014 -0500
summary:
Closes #22136: Fix MSVC compiler warnings introduced by #22085
files:
Modules/_tkinter.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list