From b7265dbe3ee954b5ebca795adc6b90b609a0bb23 Mon Sep 17 00:00:00 2001
From: Tim Peters <tim.peters@gmail.com>
Date: Thu, 4 Apr 2002 05:08:31 +0000
Subject: _PyMalloc_Realloc():  removed a now-pointless cast.

---
 Objects/obmalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index 93c74ab..ec9141c 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -812,7 +812,7 @@ _PyMalloc_Realloc(void *p, size_t nbytes)
 			return p;
 		/* We need more memory. */
 		assert(nbytes != 0);
-		bp = (block *)_PyMalloc_Malloc(nbytes);
+		bp = _PyMalloc_Malloc(nbytes);
 		if (bp != NULL) {
 			memcpy(bp, p, size);
 			_PyMalloc_Free(p);
-- 
cgit v0.12

