Re: [PATCH v2 2/2] ari, btrace: avoid unsigned long long

Pedro Alves
2015-07-09T11:15:17Z

On 07/09/2015 07:08 AM, Markus Metzger wrote:
> Fix the ARI warning about the use of unsigned long long. We can't use ULONGEST
> as this is defined unsigned long on 64-bit systems.

But, what exactly would break?

> Use unsigned long to hold
> the buffer size inside GDB

Why not use size_t instead then?

> and __u64 when interfacing the kernel.

Thanks,
Pedro Alves