Fixed windows compiler warning. Re #5403