Browse Source

Fix build

gravgun
mittorn 8 years ago
parent
commit
6a131615c7
  1. 4
      dlls/coop.cpp

4
dlls/coop.cpp

@ -821,8 +821,8 @@ static char *strrstr(const char *x, const char *y) { @@ -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…
Cancel
Save