[Issue 2364] ftell return type is long in C, that is 64-bit on x86-64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 9 05:43:28 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2364





------- Comment #1 from terranium at yandex.ru  2008-10-09 07:43 -------
> > So .. ptrdiff_t?
> 
> Nope, C long.  So 32 bits on Win32, Win64, and 32-bit *nix, but 64 bits 
> on 64-bit *nix.

All c types are compiler-specific, but in fact long is 64 bit on x86-64
architecture (os-independent).


-- 



More information about the Digitalmars-d-bugs mailing list