build: disable pointer to int warnings for 32-bit
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 3 Jul 2018 10:31:15 +0000 (11:31 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 10:24:41 +0000 (12:24 +0200)
commitb67cc8a561756767e1934259c04be8a73a7528d8
tree889067dadabf535f20fdff07d34f3f77c29a5992
parent526ca5c6cca063c712942dc9d6bc33c3966a64a8
build: disable pointer to int warnings for 32-bit

Converting a 32-bit pointer to a 64-bit integer is generally safe, but
generates a lot of warnings when compiling 32-bit code with meson. The
warnings are not flagged when using make, so just disable them for
32-bit meson builds.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
config/meson.build