diff --git a/Code/Common/otbPipelineMemoryPrintCalculator.h b/Code/Common/otbPipelineMemoryPrintCalculator.h
index a05dfc6f64942a3ece0ba4b2580cf07135448cf3..c88180f960209cec447177cbf7b010607e1e7af6 100644
--- a/Code/Common/otbPipelineMemoryPrintCalculator.h
+++ b/Code/Common/otbPipelineMemoryPrintCalculator.h
@@ -20,6 +20,7 @@
 
 #include "itkProcessObject.h"
 #include "itkDataObject.h"
+#include "itkIntTypes.h"
 #include <set>
 
 namespace otb
@@ -73,7 +74,7 @@ public:
   typedef ProcessObjectType::Pointer          ProcessObjectPointerType;
   typedef itk::DataObject                     DataObjectType;
   typedef DataObjectType::Pointer             DataObjectPointerType;
-  typedef long long int                       MemoryPrintType;
+  typedef itk::uint64_t                       MemoryPrintType;
   typedef std::set<const ProcessObjectType *> ProcessObjectPointerSetType;
 
   /** Run-time type information (and related methods). */