[Issue 23475] Wrong printf deprecation message with ulong/long
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 10 18:56:50 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23475
kinke <kinke at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |kinke at gmx.net
Resolution|--- |INVALID
--- Comment #1 from kinke <kinke at gmx.net> ---
Nope - Microsoft chose 32-bit for `long` (even when targeting 64-bit Windows!).
You need to use `%lld` for `long long`, which is always 64-bit for all targets
I know of.
--
More information about the Digitalmars-d-bugs
mailing list