Re: [PATCH] loader/linux: Fix type error for reference variable

2021-02-26 Thread Daniel Kiper
On Mon, Jan 11, 2021 at 11:04:36AM +0800, Tianjia Zhang wrote: > `relocatable` is defined as type grub_uint8_t, this is also > one byte definition in linux boot protocol. by semantic > definition, it is a bool type. It is not appropriate to > treat it as a four bytes, this patch fix this issue. > >

[PATCH] loader/linux: Fix type error for reference variable

2021-01-10 Thread Tianjia Zhang
`relocatable` is defined as type grub_uint8_t, this is also one byte definition in linux boot protocol. by semantic definition, it is a bool type. It is not appropriate to treat it as a four bytes, this patch fix this issue. Signed-off-by: Tianjia Zhang --- grub-core/loader/i386/linux.c | 2 +-