On Jan 15, 2011, at 1:47 PM, Walter Bright wrote:

> A start:
> 
> http://www.digitalmars.com/d/2.0/32-64-portability.html

printf("s = '%.*s'\n", s.length, s.ptr); // 32 and 64 bit

Is the above correct?  The above syntax expects an int for the length and 
s.length will be a ulong.  Or does the compiler do some sort of implicit cast?
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to