summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMario Six <[email protected]>2017-01-11 16:00:55 +0100
committerStefan Roese <[email protected]>2017-02-01 09:03:48 +0100
commit885fba155c70871cfbe83f13ed98cd804a049058 (patch)
tree2a68f088fd1eba2334efef58d0877b06d1abc38b /include/linux
parent94490a4a707003f91cc384f367131ad91b82fd0e (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 <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions