diff options
author | Mario Six <mario.six@gdsys.cc> | 2017-01-11 16:00:55 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-02-01 09:03:48 +0100 |
commit | 885fba155c70871cfbe83f13ed98cd804a049058 (patch) | |
tree | 2a68f088fd1eba2334efef58d0877b06d1abc38b /configs/crownbay_defconfig | |
parent | 94490a4a707003f91cc384f367131ad91b82fd0e (diff) |
tools: kwbimage: Fix arithmetic with void pointers
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@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/crownbay_defconfig')
0 files changed, 0 insertions, 0 deletions