summaryrefslogtreecommitdiff
path: root/tools/netconsole
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2017-01-11 16:00:55 +0100
committerStefan Roese <sr@denx.de>2017-02-01 09:03:48 +0100
commit885fba155c70871cfbe83f13ed98cd804a049058 (patch)
tree2a68f088fd1eba2334efef58d0877b06d1abc38b /tools/netconsole
parent94490a4a707003f91cc384f367131ad91b82fd0e (diff)
downloadu-boot-imx-885fba155c70871cfbe83f13ed98cd804a049058.zip
u-boot-imx-885fba155c70871cfbe83f13ed98cd804a049058.tar.gz
u-boot-imx-885fba155c70871cfbe83f13ed98cd804a049058.tar.bz2
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 'tools/netconsole')
0 files changed, 0 insertions, 0 deletions