summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-06 20:50:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-06 20:50:20 +0300
commitac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8 (patch)
tree6129048685a6a700f4619d5521a91add8e033077 /src
parentfe9071350c8e430687920dd44b42f6d1484d902f (diff)
downloadmv-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.tar.gz
mv-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.tar.bz2
mv-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.tar.xz
mv-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.zip
Remove some C syntax from mumblemanager.cpp
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))