Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  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
Previous Topic: LoadFile("/sys/devices/virtual/thermal/ ...") does not work
Next Topic: v14609 GetHashValue compilation error
Goto Forum:
  


Current Time: Tue Apr 23 15:45:37 CEST 2024

Total time taken to generate the page: 0.01031 seconds