Re: [PATCH] fs: ubootvarfs: use correct format specifier for pointer diff

2019-11-04 Thread Sascha Hauer
On Wed, Oct 30, 2019 at 12:11:49PM +0100, Lucas Stach wrote: > The difference between two pointers is represented as a ptrdiff_t, use the > correct format specifier when printing to get rid of the following warning > in a 64bit build: > > warning: format '%x' expects argument of type 'unsigned int

[PATCH] fs: ubootvarfs: use correct format specifier for pointer diff

2019-10-30 Thread Lucas Stach
The difference between two pointers is represented as a ptrdiff_t, use the correct format specifier when printing to get rid of the following warning in a 64bit build: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] Signed-off-by: Lucas