isl: use 64bit arithmetic to compute size
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 13 Jul 2017 14:37:43 +0000 (15:37 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 13 Jul 2017 21:50:26 +0000 (22:50 +0100)
commit19869d6091e170248378d38352339c65cff19d63
tree28610f6b5b9bdb9ecf3cf383a31a6c1674673608
parent4df93a54f18ff8baca1d7a1b395c1fa70d65a9bb
isl: use 64bit arithmetic to compute size

If we allow the size to be more than 2^32, then we should compute it
in 64bit arithmetic otherwise we might run into overflow issues.

CID: 14128921412891
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/isl/isl.c