[U-Boot] [PATCH v2 11/18] tools: kwbimage: Fix arithmetic with void pointers
Stefan Roese
sr at denx.de
Wed Feb 1 12:41:44 CET 2017
On 11.01.2017 16:00, Mario Six wrote:
> Arithmetic with void pointers, e.g. a - b where both a and b are void
> pointers, is undefined in the C standard. Since we are operating with
> byte data here, we switch the void pointers to uint8_t pointers, and add
> the necessary casts.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
> ---
> Changes in v2:
>
> None
Applied to u-boot-marvell/master
Thanks,
Stefan
More information about the U-Boot
mailing list