mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-26 08:33:53 +00:00
Fix for mmf failing on linux (relies on size_ which wasn't init properly on one of the constructors, now is)
This commit is contained in:
parent
54883b0795
commit
8937c5be86
@ -110,6 +110,7 @@ namespace EQEmu {
|
||||
}
|
||||
fseek(f, 0U, SEEK_END);
|
||||
uint32 size = static_cast<uint32>(ftell(f)) - sizeof(shared_memory_struct);
|
||||
size_ = size;
|
||||
fclose(f);
|
||||
|
||||
#ifdef _WINDOWS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user