meson: Add MSVC narrowing-int-to-char warnings
authorDaniel Stone <daniels@collabora.com>
Mon, 6 Apr 2020 20:35:09 +0000 (21:35 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Aug 2020 13:44:10 +0000 (13:44 +0000)
commit45f22528792d3ec072162aaff9b69a08bf1252e0
tree342da117f942801ff43479adcd06e844a48986d5
parentd8edf8e383db716c4837c82cced1ae8d6f220551
meson: Add MSVC narrowing-int-to-char warnings

MSVC seems quite keen to warn us that we're narrowing an int into a
char, even if it fits entirely within range.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6227>
meson.build