summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-08-05 16:54:34 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-08-05 16:54:34 (GMT)
commit037605b50e512ba89a6570842508cab927c9a0ac (patch)
tree7f30a9e906dc17bf7200129fbaa29e314984b9af /Modules
parentec3af4e6aa6edef6ec9fe977bc5f63130184efc5 (diff)
downloadcpython-037605b50e512ba89a6570842508cab927c9a0ac.zip
cpython-037605b50e512ba89a6570842508cab927c9a0ac.tar.gz
cpython-037605b50e512ba89a6570842508cab927c9a0ac.tar.bz2
Closes #22136: Fix MSVC compiler warnings introduced by #22085
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_tkinter.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index f71ede8..b5f23bc 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)