Keep gcc -Wall happy.

This commit is contained in:
Guido van Rossum 1996-12-05 23:43:35 +00:00
parent 60fca2c90f
commit a376cc5cc8
27 changed files with 93 additions and 56 deletions

View file

@ -1051,7 +1051,7 @@ Tktt_Print (self, fp, flags)
{
TkttObject *v = (TkttObject *) self;
fprintf(fp, "<tktimertoken at 0x%x%s>", v,
fprintf(fp, "<tktimertoken at 0x%lx%s>", (long)v,
v->func == NULL ? ", handler deleted" : "");
return 0;
}
@ -1139,6 +1139,7 @@ Tkapp_MainLoop (self, args)
quitMainLoop = 0;
while (Tk_GetNumMainWindows() > threshold && !quitMainLoop && !errorInCmd)
{
/* XXX Ought to check for other signals! */
if (PyOS_InterruptOccurred ())
{
PyErr_SetNone (PyExc_KeyboardInterrupt);