Re: [PATCH v1 1/1] Upcast size_t variables to uintmax_t when printing
On Fri, Nov 9, 2018 at 9:46 AM <tboegi@web.de> wrote:
> When printing variables which contains a size, today "unsigned long"
> is used at many places.
> In order to be able to change the type from "unsigned long" into size_t
> some day the future, we need to have a way to print 64 bit variables
> on a system that has "unsigned long" defined to be 32 bit, link Win64.
> Upcast all those variables into uintmax_t before they are printed.
> This is to prepare for a bigger change, when "unsligned long"
> will be converted into size_t for variables which may be > 4Gib.
>
> Signed-off-by: Torsten Bögershausen <tboegi@web.de>