Re: [PATCH v1 1/1] Upcast size_t variables to uintmax_t when printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 9, 2018 at 9:46 AM <tboegi@xxxxxx> 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

s/day/& in/

> on a system that has "unsigned long" defined to be 32 bit, link Win64.

s/link/like/

> Upcast all those variables into uintmax_t before they are printed.
> This is to prepare for a bigger change, when "unsligned long"

s/unsligned/unsigned/

> will be converted into size_t for variables which may be > 4Gib.
>
> Signed-off-by: Torsten Bögershausen <tboegi@xxxxxx>



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux