From 39285423dbe8129236810441b34ff64cdead7a57 Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 4 Sep 2016 00:02:52 +0000 Subject: [PATCH] Switch movie.cpp to reinterpret_cast --- d2x-rebirth/main/movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }