diff --git a/src/CCDSpectrometer.cpp b/src/CCDSpectrometer.cpp
index 09fa6d121c6714e51f7e8479887b8c48a806f1ce..df655849192846e87f7e9154488c748203b2ec79 100644
--- a/src/CCDSpectrometer.cpp
+++ b/src/CCDSpectrometer.cpp
@@ -3574,7 +3574,7 @@ void CCDSpectrometer::string_explode(string str, string separator, vector<string
 
 }
 
-int CCDSpectrometer::load_intensity_cal_file(string filename)
+void CCDSpectrometer::load_intensity_cal_file(string filename)
 {
 	string line;
 	ifstream infile (filename.c_str(), ios_base::in);
@@ -3599,7 +3599,7 @@ int CCDSpectrometer::load_intensity_cal_file(string filename)
 	//DEBUG_STREAM <<__func__ << ": Read from " << filename << " " << tmp.size << " lines or " << tmp.size_d << " reals";
 }
 
-int CCDSpectrometer::save_intensity_cal_file(string filename)
+void CCDSpectrometer::save_intensity_cal_file(string filename)
 {
 	string line;
 	ofstream outfile (filename.c_str(), ios_base::out | ios_base::trunc);