fix more compile errors

Avoid void * arithmetic
Do explicit casts to target type to make c++ happy
This commit is contained in:
Wim Taymans 2019-01-08 11:53:36 +01:00
parent 3fa2ad33e4
commit b0f4be5fbc
26 changed files with 175 additions and 159 deletions

View file

@ -40,7 +40,7 @@ pkgconfig = import('pkgconfig')
cc = meson.get_compiler('c')
if cc.get_id() == 'gcc'
add_global_arguments('-Wsign-compare', '-Wimplicit-fallthrough', language : 'c')
add_global_arguments('-Wsign-compare', '-Wimplicit-fallthrough', '-Wpointer-arith', language : 'c')
endif
cdata = configuration_data()