mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-03 21:42:26 +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);
|
fseek(f, 0U, SEEK_END);
|
||||||
uint32 size = static_cast<uint32>(ftell(f)) - sizeof(shared_memory_struct);
|
uint32 size = static_cast<uint32>(ftell(f)) - sizeof(shared_memory_struct);
|
||||||
|
size_ = size;
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user