]> Creatis software - clitk.git/commitdiff
uint compilation error on Windows
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 30 Aug 2011 16:27:45 +0000 (18:27 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 30 Aug 2011 16:27:45 +0000 (18:27 +0200)
itk/clitkForwardWarpImageFilter.txx

index e99ef0fde6b0ca08883abe75fa48832807145a7e..c072b5d85abdf2660dfce34f5894d758a8939dfb 100644 (file)
@@ -154,7 +154,7 @@ void HelperClass1<InputImageType, OutputImageType, DeformationFieldType>::Thread
   //define some temp variables
   signed long baseIndex[ImageDimension];
   double distance[ImageDimension];
-  for(uint i=0; i<ImageDimension; i++) distance[i] = 0.0; // to avoid warning
+  for(unsigned int i=0; i<ImageDimension; i++) distance[i] = 0.0; // to avoid warning
   unsigned int dim, counter, upper;
   double overlap, totalOverlap;
   typename OutputImageType::IndexType neighIndex;