meson: Enable -Werror=int-conversion.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 31 Oct 2019 11:00:52 +0000 (12:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jan 2020 11:47:02 +0000 (11:47 +0000)
commitc1a1a86658303083d33e70c6b0c1b3317bdd8d20
treef284302dd481c4d8f176eb963923c04077c1929d
parentb72182fcfa624b2cd7e19dd6c8e5ae60b2679dde
meson: Enable -Werror=int-conversion.

I think implicit conversions here are almost always wrong:

1) wrong argument position ptr vs. int
2) will often have issues with 32-bit platforms.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2570>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2570>
meson.build