summaryrefslogtreecommitdiff
path: root/src/mumblemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mumblemanager.cpp')
-rw-r--r--src/mumblemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mumblemanager.cpp b/src/mumblemanager.cpp
index 44e227e15..766622453 100644
--- a/src/mumblemanager.cpp
+++ b/src/mumblemanager.cpp
@@ -98,8 +98,8 @@ void MumbleManager::init()
return;
}
- mLinkedMem = (LinkedMem *) MapViewOfFile(hMapObject,
- FILE_MAP_ALL_ACCESS, 0, 0, sizeof(LinkedMem));
+ mLinkedMem = reinterpret_cast<LinkedMem *>(MapViewOfFile(hMapObject,
+ FILE_MAP_ALL_ACCESS, 0, 0, sizeof(LinkedMem)));
if (!mLinkedMem)
{