summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mumblemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mumblemanager.cpp b/src/mumblemanager.cpp
index 5aa4f79f2..efb4320ff 100644
--- a/src/mumblemanager.cpp
+++ b/src/mumblemanager.cpp
@@ -58,7 +58,7 @@ MumbleManager::~MumbleManager()
#elif defined BSD4_4
#else // WIN32
- munmap(mLinkedMem, sizeof(struct LinkedMem));
+ munmap(mLinkedMem, sizeof(LinkedMem));
#endif // WIN32
mLinkedMem = nullptr;
@@ -134,7 +134,7 @@ void MumbleManager::init()
}
mLinkedMem = static_cast<LinkedMem *>(mmap(nullptr,
- sizeof(struct LinkedMem), PROT_READ | PROT_WRITE,
+ sizeof(LinkedMem), PROT_READ | PROT_WRITE,
MAP_SHARED, shmfd, 0));
if (mLinkedMem == reinterpret_cast<void *>(-1))