|
From: David M. <dav...@gm...> - 2015-01-19 21:59:54
|
On 19. 1. 2015 22:55, Greg Jung wrote: > I'm working on a routine that returns file sizes and find that the 32-bit builds don't accomodate a larger byte-count typical of the large movie files or backup files found these days. I'm testing cygwin64 (native cygwin build) and mingw/msys 32-bit build:64-bit version does ok: . > I presume when I go mingw64 it'll be positive, but is there a way to trick the 32-bit builds to bring a 64-bit size value? I think you should be able to use some form of stat64, which uses 64-bit integers even on 32-bit platforms. See for example: http://stackoverflow.com/a/12568257 -- David Macek |