Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 67f08d69 authored by Mark Brown's avatar Mark Brown
Browse files

spi/atmel: Fix pointer to int conversion warnings on 64 bit builds



On 64 bit systems integers are generally still 32 bit but long values and
pointers are usually 64 bit. GCC warns when casting a 64 bit pointer into
a 32 bit integer so cast to a long instead in order to avoid warnings.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent ef40eb39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment