From 672fd03e83f0333e8d8cb98c222520cd61a2f7a9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 5 Jun 2024 06:15:13 +0200 Subject: Merging upstream version 5.7.3. Signed-off-by: Daniel Baumann --- daemon/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/worker.c') diff --git a/daemon/worker.c b/daemon/worker.c index 8b6b49e..12c08f1 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -195,7 +195,7 @@ static inline struct mempool *pool_borrow(struct worker_ctx *worker) { /* The implementation used to have extra caching layer, * but it didn't work well. Now it's very simple. */ - return mp_new(16 * 1024); + return mp_new((size_t)16 * 1024); } /** Return a mempool. */ static inline void pool_release(struct worker_ctx *worker, struct mempool *mp) -- cgit v1.2.3