diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-06 20:50:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-06 20:50:20 +0300 |
commit | ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8 (patch) | |
tree | 6129048685a6a700f4619d5521a91add8e033077 | |
parent | fe9071350c8e430687920dd44b42f6d1484d902f (diff) | |
download | manaverse-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.tar.gz manaverse-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.tar.bz2 manaverse-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.tar.xz manaverse-ac4af8e1fea8d6b1fa5dd0ca9203ee5445ae97a8.zip |
Remove some C syntax from mumblemanager.cpp
-rw-r--r-- | src/mumblemanager.cpp | 4 |
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)) |