refs #6583. Fix vc++ warnings.