Home » U++ Library support » U++ Core » Serialize long as uint64 on some platforms
Serialize long as uint64 on some platforms [message #58706] |
Sun, 31 July 2022 08:06 |
busiek
Messages: 64 Registered: February 2011 Location: Poland
|
Member |
|
|
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.
Cheers,
busiek
|
|
|
Goto Forum:
Current Time: Tue Apr 23 15:45:37 CEST 2024
Total time taken to generate the page: 0.01031 seconds
|