diff --git a/Tests/testCompareKernels.cpp b/Tests/testCompareKernels.cpp
index 7682243628227cda5e1b043f452a303d8151069b..21fb237e07b66b0a08aa24b0a2a7c33f14c7ac1f 100644
--- a/Tests/testCompareKernels.cpp
+++ b/Tests/testCompareKernels.cpp
@@ -113,7 +113,7 @@ int main(int argc, char* argv[])
 
         // accuracy
         const unsigned int ORDER = 4;
-        const FReal epsilon = 1e-5;
+        const FReal epsilon = FReal(1e-5);
 
         unsigned int nt1 = 0;
         FReal* p1;  p1  = NULL;
diff --git a/Tests/testFmmDemonstration.cpp b/Tests/testFmmDemonstration.cpp
index 2292b0c75242a01ffac9d4c8ff2cf5deac7f10eb..8541702711e94ae582ffe4098548490362bdcf5d 100644
--- a/Tests/testFmmDemonstration.cpp
+++ b/Tests/testFmmDemonstration.cpp
@@ -135,7 +135,7 @@ int main(int argc, char ** argv){
 
     const int NbLevels = FParameters::getValue(argc,argv,"-h", 5);
     const int SizeSubLevels = FParameters::getValue(argc,argv,"-sh", 3);
-    const int NbPart = FParameters::getValue(argc,argv,"-pn", 20L);
+    const int NbPart = FParameters::getValue(argc,argv,"-pn", 20);
     FTic counter;
 
     //////////////////////////////////////////////////////////////////////////////////
diff --git a/Tests/testMemStats.cpp b/Tests/testMemStats.cpp
index 2ff77a606b0f03343a411ffecbdd034c2969251f..fbca2567500bc2f1de433218cd8df9e4779afe44 100644
--- a/Tests/testMemStats.cpp
+++ b/Tests/testMemStats.cpp
@@ -63,7 +63,7 @@ int main(int argc, char ** argv){
         const int NbLevels      = FParameters::getValue(argc,argv,"-h", 5);
         const int SizeSubLevels = FParameters::getValue(argc,argv,"-sh", 3);
         const int NbPart       = FParameters::getValue(argc,argv,"-nb", 2000000);
-        const long DevP         = FParameters::getValue(argc,argv,"-p", 5);
+        const int DevP         = FParameters::getValue(argc,argv,"-p", 5);
         const FReal FRandMax    = FReal(RAND_MAX);
         const F3DPosition centerOfBox = F3DPosition(0.5,0.5,0.5);
         FTic counter;
diff --git a/UTests/utestOctree.cpp b/UTests/utestOctree.cpp
index 3f644f874deb70004cfbb8894f988a24d8cd04aa..84436d882ea918d09e26c4bddcc006fa75e38ca8 100644
--- a/UTests/utestOctree.cpp
+++ b/UTests/utestOctree.cpp
@@ -47,7 +47,7 @@ class TestOctree : public FUTester<TestOctree> {
         for(int idxHeight = 2 ; idxHeight < 8 ; ++idxHeight){
 
             // Compute the number of leaves for a tree of this height
-            const long NbSmallBoxesPerSide = (1 << (idxHeight-1));
+            const int NbSmallBoxesPerSide = (1 << (idxHeight-1));
             const FReal SmallBoxWidth = BoxWidth / FReal(NbSmallBoxesPerSide);
             const FReal SmallBoxWidthDiv2 = SmallBoxWidth / 2;