[fpc-devel] Memory Streams unable to handle reads past 2GB
Andrew Brunner
atbrunner at aurawin.com
Tue Nov 6 05:09:27 CET 2012
objpas/classes/classesh.inc
TCustomMemoryStream
function Read(var Buffer; Count: LongInt): LongInt; override;
Having Read result declared as LongInt is problematic on 64 bit systems
with large streams.
Read result MUST be either PtrInt or Int64 but it cannot be LongInt.
Please fix, Thanks
--
Andrew Brunner
Aurawin LLC
512.574.6298
http://aurawin.com/
Aurawin is a great new way to store, share, and enjoy your
photos, videos, music and more.
More information about the fpc-devel
mailing list