Re: [PATCH] drm/appletbdrm: fix format character for size_t

2025-03-04 Thread Aditya Garg
> On 4 Mar 2025, at 7:25 PM, Jani Nikula wrote: > > Use %zu for size_t instead of %lu to avoid failures on 32-bit builds: > > error: format ‘%lu’ expects argument of type ‘long unsigned int’, but > argument 4 has type ‘size_t’ {aka ‘unsigned int’} > > Fixes: 0670c2f56e45 ("drm/tiny: add driv

[PATCH] drm/appletbdrm: fix format character for size_t

2025-03-04 Thread Jani Nikula
Use %zu for size_t instead of %lu to avoid failures on 32-bit builds: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} Fixes: 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs") Cc: Kerem Karabay Cc: Atharv