]> granicus.if.org Git - python/commitdiff
Closes #22136: Fix MSVC compiler warnings introduced by #22085
authorZachary Ware <zachary.ware@gmail.com>
Tue, 5 Aug 2014 16:54:34 +0000 (11:54 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 5 Aug 2014 16:54:34 +0000 (11:54 -0500)
Modules/_tkinter.c

index f71ede85db5eeaa1bb82768bed5299d0f08231ab..b5f23bc9d168da84c90f53666673b9e93c72d42d 100644 (file)
@@ -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)