From b6fe7048e710db1678db53c0b088f43abdb8c95f Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Thu, 9 Mar 1995 12:13:43 +0000
Subject: add casts to malloc() calls

---
 Modules/_tkinter.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 @@ Merge (args)
 
       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 ();
 	}
-- 
cgit v0.12

