]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: fix 64-bit compiler warning for SPL header parsing
authorAndre Przywara <andre.przywara@arm.com>
Mon, 5 Sep 2016 00:32:41 +0000 (01:32 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 6 Sep 2016 11:35:52 +0000 (13:35 +0200)
commit5a74a3912970d4fa5625237f0117ca08c2878f29
tree69c263e6c3ebee469944395954f93420d64e110d
parentfa855d3d557a33c3c59f260302a94a8e8a0051b1
sunxi: fix 64-bit compiler warning for SPL header parsing

Casting "int"s to pointers is only valid for 32-bit systems.
Add the appropriate pointer type cast to avoid a compiler warning
when compiling for AArch64.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/board.c