From 6a131615c76645901c1b38256a1732966bc50474 Mon Sep 17 00:00:00 2001 From: mittorn Date: Fri, 24 Feb 2017 09:22:26 +0000 Subject: [PATCH] Fix build --- dlls/coop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/coop.cpp b/dlls/coop.cpp index 2cddf6d1..ddc3f1d4 100644 --- a/dlls/coop.cpp +++ b/dlls/coop.cpp @@ -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; }