From 4c333048834f42c2e98ec57dd912feb15ca94192 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 c79928e3f..fb963bdf2 100644 --- a/t/tests-preload.c +++ b/t/tests-preload.c @@ -256,7 +256,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))