Fix toolchain warnings