From cef88516463864770d30523ea33f88ef0da686af Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 16 Jan 2022 21:13:17 +0100 Subject: [PATCH] [patience] const char * --- src/util/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/memory.c b/src/util/memory.c index 6a881cec6..109a06a81 100644 --- a/src/util/memory.c +++ b/src/util/memory.c @@ -27,7 +27,7 @@ static int alloc_try = 0; static int -patience(char *of) +patience(const char *of) { ++alloc_try; if (alloc_try < ALLOC_MAXTRIES) {