Re #9958. Fix ubuntu compiler warning.