Re: [PATCH libdrm] amdgpu: Use %ll to format 64-bit integers

2023-07-05 Thread Geert Uytterhoeven
On Wed, Jul 5, 2023 at 5:17 PM Geert Uytterhoeven wrote: > > On 32-bit: > > ../tests/amdgpu/amdgpu_stress.c: In function ‘alloc_bo’: > ../tests/amdgpu/amdgpu_stress.c:178:49: warning: format ‘%lx’ expects > argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka > ‘

[PATCH libdrm] amdgpu: Use %ll to format 64-bit integers

2023-07-05 Thread Geert Uytterhoeven
On 32-bit: ../tests/amdgpu/amdgpu_stress.c: In function ‘alloc_bo’: ../tests/amdgpu/amdgpu_stress.c:178:49: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] fprintf(stdout, "Allocated B