Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Objects/obmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ _PyMem_SetupAllocators(PyMemAllocatorName allocator)


static int
pymemallocator_eq(PyMemAllocatorEx *a, PyMemAllocatorEx *b)
pymemallocator_eq(const PyMemAllocatorEx *a, const PyMemAllocatorEx *b)
{
return (memcmp(a, b, sizeof(PyMemAllocatorEx)) == 0);
}
Expand Down Expand Up @@ -2452,7 +2452,7 @@ _PyObject_DebugDumpAddress(const void *p)
}

tail = q + nbytes;
fprintf(stderr, " The %d pad bytes at tail=%p are ", SST, (void *)tail);
fprintf(stderr, " The %d pad bytes at tail=%p are ", SST, (const void *)tail);
ok = 1;
for (i = 0; i < SST; ++i) {
if (tail[i] != PYMEM_FORBIDDENBYTE) {
Expand Down