* Fix various warnings with GCC and clang
This commit is contained in:
1 parent
675e7a641a
commit
fd986dae06
8 files changed
+31
-22
No files matched your search
@@ -115,7 +115,7 @@ int mumble_link(const char* name)
|
||||
close(shmfd);
|
||||
#endif
|
||||
memset(lm, 0, sizeof(LinkedMem));
|
||||
mbstowcs(lm->name, name, sizeof(lm->name));
|
||||
mbstowcs(lm->name, name, sizeof(lm->name) / sizeof(wchar_t));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user