git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef40eb3
)
spi/atmel: Fix pointer to int conversion warnings on 64 bit builds
author
Mark Brown
<broonie@linaro.org>
Fri, 1 Aug 2014 16:43:03 +0000
(17:43 +0100)
committer
Mark Brown
<broonie@linaro.org>
Fri, 1 Aug 2014 17:22:42 +0000
(18:22 +0100)
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>
No differences found