Add a cast that a picky SGI compiler found was necessary.

This commit is contained in:
Guido van Rossum 1998-07-07 22:25:47 +00:00
parent 9f29990a90
commit c821d1ecc0
1 changed files with 1 additions and 1 deletions

View File

@ -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();