mempool.c (mempool_open): avoid using old API in mempool.c

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-05-12 13:04:22 +09:00
parent ebca0cbf6a
commit dbc9d12254
+1 -1
View File
@@ -64,7 +64,7 @@ struct mempool {
MRB_API mempool*
mempool_open(void)
{
mrb_mempool *pool = (mempool*)malloc(sizeof(struct mempool));
mempool *pool = (mempool*)malloc(sizeof(struct mempool));
if (pool) {
pool->pages = NULL;