OSDN Git Service

Correct the casting type for radeon drm calls
authorPaulo Sergio Travaglia <pstglia@gmail.com>
Sun, 28 Jun 2015 22:16:42 +0000 (19:16 -0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 26 Jul 2015 15:58:28 +0000 (23:58 +0800)
commit4c7eccbfd13f1e8c71f7d3c417d2ffe4d853f30b
treed7f8be443ac823d9c854f8161197baefc431da15
parent613181cff0b76e52f29a655cbbb933f785798731
Correct the casting type for radeon drm calls

It could be wrong to cast a pointer to a long type
(32-bit signed integer) and extend it to a uint64_t
(64-bit unsigned integer).

Cast it to uintptr_t as the xorg-video-ati does.
gralloc_drm_radeon.c