Re: [PATCH] Add missing cast in compile-time byteswaps

2024-06-03 Thread Daniel Kiper
On Mon, Jun 03, 2024 at 06:33:04PM +0200, Daniel Kiper wrote: > On Thu, May 16, 2024 at 10:22:58PM +0300, Vladimir Serbinenko wrote: > > Without them 0x80LL is 32-bit byte-swapped to 0x8000 instead > > of correct 0x8000 I think it should be added "on 64-bit target"... Right? > > S

Re: [PATCH] Add missing cast in compile-time byteswaps

2024-06-03 Thread Daniel Kiper
On Thu, May 16, 2024 at 10:22:58PM +0300, Vladimir Serbinenko wrote: > Without them 0x80LL is 32-bit byte-swapped to 0x8000 instead > of correct 0x8000 > > Signed-off-by: Vladimir Serbinenko Reviewed-by: Daniel Kiper Daniel ___ Grub-d

[PATCH] Add missing cast in compile-time byteswaps

2024-05-16 Thread Vladimir Serbinenko
Without them 0x80LL is 32-bit byte-swapped to 0x8000 instead of correct 0x8000 Signed-off-by: Vladimir Serbinenko --- include/grub/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/grub/types.h b/include/grub/types.h index 064066e2e..45079bf6