]> git.dujemihanovic.xyz Git - u-boot.git/commit
lcd: Fix compile warning in 64bit mode
authorAlexander Graf <agraf@suse.de>
Wed, 16 Mar 2016 14:41:22 +0000 (15:41 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:17 +0000 (09:12 -0400)
commitf8f58fbb09bcec7a77dddbcfab62153b102ae775
treeeb9a4ecfdf352b60a0b91eef22ffb3654971a412
parentd990f5c834f1b42293fb53e4fd7f3aa988184196
lcd: Fix compile warning in 64bit mode

When compiling the code for 64bit, the lcd code emits warnings because it
tries to cast pointers to 32bit values. Fix it by casting them to longs
instead, actually properly aligning with the function prototype.

Signed-off-by: Alexander Graf <agraf@suse.de>
common/lcd.c