Index: trunk/FACT++/src/fixfits.cc
===================================================================
--- trunk/FACT++/src/fixfits.cc	(revision 20060)
+++ trunk/FACT++/src/fixfits.cc	(revision 20061)
@@ -535,5 +535,5 @@
     fout.seekp(header["CHECKSUM"], ios::beg);
     //fout.seekg(header["CHECKSUM"], ios::beg);
-    fout << left << setw(20) << string("'" + fits2.GetChecksum().str() +  "'");
+    fout << left << setw(20) << string("'" + to_string(fits2.GetChecksum()) +  "'");
 
     fout.close();
