i965: Fix 32 bit build warnings in intel_get_yf_ys_bo_size()
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 7 Jul 2015 19:23:33 +0000 (12:23 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 15 Jul 2015 22:02:02 +0000 (15:02 -0700)
commit642f289824dc9a07e8209c905badef31b4841ae1
treefc11c56f4595e1562ec09338962a8d1c42071108
parentf11c6f09cf36909ff399353b20195a31cf0f1907
i965: Fix 32 bit build warnings in intel_get_yf_ys_bo_size()

Along with fixing the type of pitch parameter, patch also changes
the types of few local variables and function return type.

Warnings fixed are:
intel_mipmap_tree.c:671:7: warning: passing argument 3 of
'intel_get_yf_ys_bo_size' from incompatible pointer type

intel_mipmap_tree.c:563:1: note: expected 'uint64_t *' but
argument is of type 'long unsigned int *'

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c