fix gcc wall warnings seen on travis