On Tuesday, 10 August 2021 at 01:29:04 UTC, Marcone wrote:
Solved converting long and int.
Use `size_t` and `ptrdiff_t` instead to make your program compile in both 32 bit and 64 bit modes.
https://dlang.org/spec/type.html#aliased-types -- Bastiaan.
Bastiaan Veelo via Digitalmars-d-learn Tue, 10 Aug 2021 09:01:05 -0700
On Tuesday, 10 August 2021 at 01:29:04 UTC, Marcone wrote:
Solved converting long and int.
Use `size_t` and `ptrdiff_t` instead to make your program compile in both 32 bit and 64 bit modes.
https://dlang.org/spec/type.html#aliased-types -- Bastiaan.