Fix for error R6034.