Fixed compiler warning in nightlies.