From 41bc4a1df5e213eb6333ba0b5755287b27866310 Mon Sep 17 00:00:00 2001 From: kiwigitops Date: Wed, 20 May 2026 21:56:32 -0400 Subject: [PATCH] Fix const qualifier warning with C23 strrchr --- src/ios_webkit_debug_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios_webkit_debug_proxy.c b/src/ios_webkit_debug_proxy.c index 058ab72..4c22ab5 100644 --- a/src/ios_webkit_debug_proxy.c +++ b/src/ios_webkit_debug_proxy.c @@ -1971,7 +1971,7 @@ iwdp_status iwdp_get_content_type(const char *path, bool is_local, #endif } if (!mime) { - char *fext = strrchr(path, '.'); + const char *fext = strrchr(path, '.'); if (fext) { ++fext; size_t n = (sizeof(EXT_TO_MIME) / sizeof(EXT_TO_MIME[0]));