mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 00:51:17 +00:00
* Fix various warnings with GCC and clang
This commit is contained in:
parent
675e7a641a
commit
fd986dae06
8 changed files with 31 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue