Commit b7265dbe authored by Tim Peters's avatar Tim Peters

_PyMalloc_Realloc(): removed a now-pointless cast.

parent 84c1b974
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment