diff --git a/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx b/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx
index cb173be2f1e616a193ef124e3b3c8b41ef9e2f84..db4ac2ce14e9a65d8129c390228b3b977aaf8474 100644
--- a/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx
+++ b/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx
@@ -89,7 +89,8 @@ int main( int argc, char * argv[] )
   //  Software Guide : EndLatex 
 
   // Software Guide : BeginCodeSnippet
-  typedef otb::AssymmetricFusionOfLineDetectorImageFilter< InternalImageType, InternalImageType >  FilterType;
+  typedef otb::AssymmetricFusionOfLineDetectorImageFilter< InternalImageType,
+                                               InternalImageType >  FilterType;
   // Software Guide : EndCodeSnippet
 
 
diff --git a/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx b/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx
index 7b7bdd9c0a07a4ae008e1eec5a340072d453a309..31cefc16f8907cf8e1dc5b2d5597118ae432562a 100644
--- a/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx
+++ b/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx
@@ -93,7 +93,8 @@ int main( int argc, char * argv[] )
   //  Software Guide : EndLatex 
 
   // Software Guide : BeginCodeSnippet
-  typedef otb::LineCorrelationDetectorImageFilter< InternalImageType, InternalImageType >  FilterType;
+  typedef otb::LineCorrelationDetectorImageFilter< InternalImageType,
+                                          InternalImageType >  FilterType;
   // Software Guide : EndCodeSnippet
 
 
diff --git a/Examples/IO/StreamingImageReadWrite.cxx b/Examples/IO/StreamingImageReadWrite.cxx
index 84a2c6c46ef31186e830a912f000d5bd61ca8a36..1d32be9ad5ff0ddee127f2ad8b85ac0c41b9790b 100644
--- a/Examples/IO/StreamingImageReadWrite.cxx
+++ b/Examples/IO/StreamingImageReadWrite.cxx
@@ -85,7 +85,7 @@ int main( int argc, char ** argv )
   //  Software Guide : EndLatex 
 
   // Software Guide : BeginCodeSnippet
-  typedef unsigned short      PixelType;
+  typedef unsigned char      PixelType;
   const   unsigned int        Dimension = 2;
   typedef otb::Image< PixelType, Dimension >    ImageType;
   // Software Guide : EndCodeSnippet