Fix compile warning

Authored by mwolff.