diff --git a/d2x-rebirth/main/movie.cpp b/d2x-rebirth/main/movie.cpp index be8e61142..a45eb3d8b 100644 --- a/d2x-rebirth/main/movie.cpp +++ b/d2x-rebirth/main/movie.cpp @@ -138,7 +138,7 @@ static void MPlayFree(void *p) static unsigned int FileRead(void *handle, void *buf, unsigned int count) { unsigned numread; - numread = SDL_RWread((SDL_RWops *)handle, buf, 1, count); + numread = SDL_RWread(reinterpret_cast(handle), buf, 1, count); return (numread == count); }