summaryrefslogtreecommitdiff
path: root/firmware/export/config/gogearhdd1630.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-03-24 09:32:51 +0100
committerThomas Martitz <kugel@rockbox.org>2014-03-24 09:35:27 +0100
commit9cb9f763a947def480a943796d8dd9409b6f5b98 (patch)
tree1ae2118e757e33b8905ad59adf0ee49559cda5df /firmware/export/config/gogearhdd1630.h
parent3136465c4263a11ee57a839308f669f1fab8c936 (diff)
downloadrockbox-9cb9f763a947def480a943796d8dd9409b6f5b98.tar.gz
rockbox-9cb9f763a947def480a943796d8dd9409b6f5b98.zip
Fix ALIGN_DOWN() macro on 64bit.
When the align parameter was a 32bit value (like all default integer literals), and the to-be-aligned value is a pointer the upper 32bit got corrupted because the value was casted down to 32bit. Note: This hasnt been a problem because apparently the sim always gets 32bit addresses (I found this when compiling Rockbox as a library). Change-Id: I0d2d3fd8bfa210326b27162bb22c059da97d207a
Diffstat (limited to 'firmware/export/config/gogearhdd1630.h')
0 files changed, 0 insertions, 0 deletions