Skip to content
Commit 21912b56 authored by Pierre Gondois's avatar Pierre Gondois Committed by Leif Lindholm
Browse files

Silicon/Socionext/SynQuacer: Casts to avoid void* pointer arithmetic



By default, gcc allows void* pointer arithmetic.
This is a GCC extension.
However, the C reference manual states that void*
pointer "cannot be operands of addition or subtraction
operators". Cf s5.3.1 "Generic Pointers".

This patch adds casts to avoid doing void* pointer arithmetic.

Signed-off-by: Pierre Gondois's avatarPierre Gondois <pierre.gondois@arm.com>
Reviewed-by: default avatarLeif Lindholm <leif@nuviainc.com>
parent dd588aa6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment