mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 05:24:17 +00:00
Fix build
This commit is contained in:
parent
c129d99721
commit
6a131615c7
@ -821,8 +821,8 @@ static char *strrstr(const char *x, const char *y) {
|
||||
char *prev = NULL;
|
||||
char *next;
|
||||
if (*y == '\0')
|
||||
return strchr(x, '\0');
|
||||
while ((next = strstr(x, y)) != NULL) {
|
||||
return (char*)strchr(x, '\0');
|
||||
while ((next = (char*)strstr(x, y)) != NULL) {
|
||||
prev = next;
|
||||
x = next + 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user