提交 f63b5d4b 编写于 作者: F Foyzur Rahman

Squashing compiler warning by casting void pointer to char pointer during Assert in aset.c.

上级 554f9e87
......@@ -1359,7 +1359,7 @@ AllocSetAllocImpl(MemoryContext context, Size size, bool isHeader)
chunk = (AllocChunk) (block->freeptr);
block->freeptr += (chunk_size + ALLOC_CHUNKHDRSZ);
Assert(block->freeptr <= UserPtr_GetEndPtr(block));
Assert(block->freeptr <= ((char *)UserPtr_GetEndPtr(block)));
chunk->sharedHeader = NULL;
chunk->size = chunk_size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册