busiek Messages: 60 Registered: February 2011 Location: Poland
long has always size 4 on Windows and so Stream::operator%(long&) assumes it contains 32 bits data. It is not true on Linux or gcc compiler etc. I attach a patch for it. However it may not be complete as I am not sure what are the other areas of Core where this assumption is used.