drm/radeon: Fix printf type warning in 64bit system.
authorPauli Nieminen <suokkos@gmail.com>
Mon, 1 Mar 2010 09:37:11 +0000 (11:37 +0200)
committerDave Airlie <airlied@ppcg5.localdomain>
Mon, 1 Mar 2010 11:21:37 +0000 (22:21 +1100)
commit55a5cb5d594c18b3147a2288b00ea359c1a38cf8
treeb256f63a4ee7bc5ef7fc81035b4e28636c8fcde2
parent0de1a57bedce0899c98da4c0910d4f38c9b7c8f4
drm/radeon: Fix printf type warning in 64bit system.

Type of iterator was promoted to unsigned long in 64bit systems.

*header is small structure so it is alwas safe to cast return value
of sizeof operator to int.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
drivers/gpu/drm/radeon/r300_cmdbuf.c