On Sat, 26 Oct 2019 at 15:17, Heinrich Schuchardt <[email protected]> wrote:
>
> Compiling arch/sandbox/cpu/os.c results in an error
>
> ../arch/sandbox/cpu/os.c: In function ‘os_find_text_base’:
> ../arch/sandbox/cpu/os.c:823:12: error: cast to pointer from
> integer of different size [-Werror=int-to-pointer-cast]
>   823 |     base = (void *)addr;
>       |            ^
> cc1: all warnings being treated as errors
>
> The size of void* differs from that of unsigned long long on 32bit
> systems.
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> ---
>  arch/sandbox/cpu/os.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to