More warnings fixed

Fixed warnings related to type conversions leading to potential loss of precision.

BUG=18368388

Change-Id: I71a7941df4bcf991f04818060780d4d395e335a9
Reviewed-on: https://swiftshader-review.googlesource.com/1393
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
8 files changed
tree: 03adbdba9b77c293a64f44c50307621ee052dfc1
  1. include/
  2. src/
  3. tests/
  4. Readme.txt