add casts to malloc() calls
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 8669ac5..5153454 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -111,8 +111,8 @@
 
       if (PyTuple_Size (args) > ARGSZ)
 	{
-	  argv = malloc (PyTuple_Size (args) * sizeof (char *));
-	  fv = malloc (PyTuple_Size (args) * sizeof (int));
+	  argv = (char **) malloc (PyTuple_Size (args) * sizeof (char *));
+	  fv = (int *) malloc (PyTuple_Size (args) * sizeof (int));
 	  if (argv == NULL || fv == NULL)
 	    PyErr_NoMemory ();
 	}