commit | 67f08d690aa90e47a0e793fc63e2ecbe95d29839 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@linaro.org> | Fri Aug 01 17:43:03 2014 +0100 |
committer | Mark Brown <broonie@linaro.org> | Fri Aug 01 18:22:42 2014 +0100 |
tree | 7926d4c8eab1ee848145d64d089390e0a260698a | |
parent | ef40eb39e0128b42d64bbbf5a6635548f6f68a01 [diff] |
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: Mark Brown <broonie@linaro.org>