From 645d4d87db0464ce9090efbeb92c2dde60ca2247 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 17 Aug 2026 07:30:57 -0400 Subject: [PATCH] MT#55283 fix compiler warning Change-Id: I93a6b99f699b697f3873bc9641c441d4749a520d (cherry picked from commit 75abd43516d5cfef4e4f39849911a40fe99b8a5c) --- t/tests-preload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/tests-preload.c b/t/tests-preload.c index 61ef35821..810df553d 100644 --- a/t/tests-preload.c +++ b/t/tests-preload.c @@ -227,7 +227,7 @@ got_peer: } else if (path[0] == '[') { path++; - char *end = strchr(path, ']'); + const char *end = strchr(path, ']'); assert(end != NULL); char addr[64]; if (snprintf(addr, sizeof(addr), "%.*s", (int) (end - path), path) >= sizeof(addr))