bionic: some new type warnings fixes