mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
[PR #2187] config: Fix compiler warning
PR: https://github.com/X11Libre/xserver/pull/2187
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult
parent
36d24b6a20
commit
aacdd732cd
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user