diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-04 05:08:31 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-04 05:08:31 (GMT) |
commit | b7265dbe3ee954b5ebca795adc6b90b609a0bb23 (patch) | |
tree | d3f92a919635b989ba37bbe1c0515ede561c3330 /Objects/obmalloc.c | |
parent | 84c1b974675b9252e1f5764a399ff9455fbf73e0 (diff) | |
download | cpython-b7265dbe3ee954b5ebca795adc6b90b609a0bb23.zip cpython-b7265dbe3ee954b5ebca795adc6b90b609a0bb23.tar.gz cpython-b7265dbe3ee954b5ebca795adc6b90b609a0bb23.tar.bz2 |
_PyMalloc_Realloc(): removed a now-pointless cast.
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r-- | Objects/obmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |