Index: trunk/Mars/mcore/PixelMap.h
===================================================================
--- trunk/Mars/mcore/PixelMap.h	(revision 17952)
+++ trunk/Mars/mcore/PixelMap.h	(revision 17976)
@@ -271,5 +271,5 @@
 #ifdef __EXCEPTIONS
         if (l!=416)
-            throw std::runtime_error("Number of lines ("+std::to_string(l)+") read from "+fname+" does not match 416.");
+	  throw std::runtime_error("Number of lines ("+std::to_string(static_cast<long long>(l))+") read from "+fname+" does not match 416.");
 
         if (size()!=416)
