Re #6000. Fixing compiler warnings
Merge branch 'bugfix/6000_mantid_fit_crash' into develop