diff --git a/Code/Mantid/Vates/ParaviewPlugins/ParaViewSources/MDHWSource/vtkMDHWSource.cxx b/Code/Mantid/Vates/ParaviewPlugins/ParaViewSources/MDHWSource/vtkMDHWSource.cxx
index 16c46f31c7edf8cde165737f0cf0ab6f0ea7deaf..3208837d9e4fd0febe8e19676dbdf4942086721b 100644
--- a/Code/Mantid/Vates/ParaviewPlugins/ParaViewSources/MDHWSource/vtkMDHWSource.cxx
+++ b/Code/Mantid/Vates/ParaviewPlugins/ParaViewSources/MDHWSource/vtkMDHWSource.cxx
@@ -234,7 +234,7 @@ int vtkMDHWSource::RequestInformation(vtkInformation *vtkNotUsed(request), vtkIn
   m_presenter->executeLoadMetadata();
   setTimeRange(outputVector);
   std::vector<int> extents = dynamic_cast<MDHWInMemoryLoadingPresenter*>(m_presenter)->getExtents();
-  outputVector->GetInformationObject(0)->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(),&extents[0],extents.size());
+  outputVector->GetInformationObject(0)->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(),&extents[0],static_cast<int>(extents.size()));
 
   return 1;
 }
diff --git a/Code/Mantid/Vates/VatesAPI/src/MDHWInMemoryLoadingPresenter.cpp b/Code/Mantid/Vates/VatesAPI/src/MDHWInMemoryLoadingPresenter.cpp
index 38c96d935cb11493097506cac47f36c4af507ee0..ea2ea5396a3c5e90215601027888c3bf8e7e39b7 100644
--- a/Code/Mantid/Vates/VatesAPI/src/MDHWInMemoryLoadingPresenter.cpp
+++ b/Code/Mantid/Vates/VatesAPI/src/MDHWInMemoryLoadingPresenter.cpp
@@ -158,9 +158,9 @@ namespace Mantid
       Workspace_sptr ws = m_repository->fetchWorkspace(m_wsName);
       IMDHistoWorkspace_sptr histoWs = boost::dynamic_pointer_cast<Mantid::API::IMDHistoWorkspace>(ws);
       std::vector<int> extents(6, 0);
-      extents[1] = histoWs->getDimension(0)->getNBins();
-      extents[3] = histoWs->getDimension(1)->getNBins();
-      extents[5] = histoWs->getDimension(2)->getNBins();
+      extents[1] = static_cast<int>(histoWs->getDimension(0)->getNBins());
+      extents[3] = static_cast<int>(histoWs->getDimension(1)->getNBins());
+      extents[5] = static_cast<int>(histoWs->getDimension(2)->getNBins());
       
       return extents;
     }