diff --git a/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx b/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx
index 12ef1f4c1c4ac7d155d54f9c45560dc933a35c79..c8b598f4b4b2d13cf25d70a251ede6d4d63c9329 100644
--- a/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx
+++ b/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx
@@ -20,7 +20,7 @@
 #include "otbStreamingImageFileWriter.h"
 #include "otbMaximumAutocorrelationFactorImageFilter.h"
 
-typedef otb::VectorImage<short,2>          ImageType;
+typedef otb::VectorImage<unsigned short,2> ImageType;
 typedef otb::VectorImage<double,2>         OutputImageType;
 typedef otb::ImageFileReader<ImageType>    ReaderType;
 typedef otb::StreamingImageFileWriter<OutputImageType> WriterType;