summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-07 22:25:47 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-07 22:25:47 (GMT)
commitc821d1ecc0b0ebf481eeb9e83c9f93b272c20a22 (patch)
tree31ba3223fea426ec71ffc6697b425a526cc8d791
parent9f29990a90228cb227933178bd6ec81e8426939f (diff)
downloadcpython-c821d1ecc0b0ebf481eeb9e83c9f93b272c20a22.zip
cpython-c821d1ecc0b0ebf481eeb9e83c9f93b272c20a22.tar.gz
cpython-c821d1ecc0b0ebf481eeb9e83c9f93b272c20a22.tar.bz2
Add a cast that a picky SGI compiler found was necessary.
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index bf7501e..fc52657 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -514,7 +514,7 @@ Tkapp_New(screenName, baseName, className, interactive)
ckfree(argv0);
if (Tcl_AppInit(v->interp) != TCL_OK)
- return (TkappObject *)Tkinter_Error(v);
+ return (TkappObject *)Tkinter_Error((PyObject *)v);
EnableEventHook();