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) {
char *prev = NULL; char *prev = NULL;
char *next; char *next;
if (*y == '\0') if (*y == '\0')
return strchr(x, '\0'); return (char*)strchr(x, '\0');
while ((next = strstr(x, y)) != NULL) { while ((next = (char*)strstr(x, y)) != NULL) {
prev = next; prev = next;
x = next + 1; x = next + 1;
} }

Loading…
Cancel
Save