[PR #2187] config: Fix compiler warning

PR: https://github.com/X11Libre/xserver/pull/2187
This commit is contained in:
Olivier Fourdan
2026-03-24 16:51:48 +01:00
committed by Enrico Weigelt, metux IT consult
parent 36d24b6a20
commit aacdd732cd

View File

@@ -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;