From aacdd732cdd1e06b38e62f884a6f2d311c41fb4f Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Tue, 24 Mar 2026 16:51:48 +0100 Subject: [PATCH] [PR #2187] config: Fix compiler warning PR: https://github.com/X11Libre/xserver/pull/2187 --- config/udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/udev.c b/config/udev.c index 144b905e5..39067e336 100644 --- a/config/udev.c +++ b/config/udev.c @@ -483,7 +483,7 @@ static char *strrstr(const char *haystack, const char *needle) { char *prev, *last, *tmp; - prev = strstr(haystack, needle); + prev = (char *) strstr(haystack, needle); if (!prev) return NULL;