Fix build warning
Merge pull request #3762 from ctrlaltdavid/fix-build-warning

Fix build warning