From 519faefd9e0e07e9669027207daf3706a4372701 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 26 Aug 2025 17:09:34 +0200 Subject: [PATCH] also rename the *other* SIZE_MAX --- lib/bufq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bufq.c b/lib/bufq.c index ff6b15900c..afcdb1796b 100644 --- a/lib/bufq.c +++ b/lib/bufq.c @@ -310,7 +310,7 @@ static struct buf_chunk *get_spare(struct bufq *q) } else { /* Check for integer overflow before allocation */ - if(q->chunk_size > SIZE_MAX - sizeof(*chunk)) { + if(q->chunk_size > SIZE_T_MAX - sizeof(*chunk)) { return NULL; }