diff --git a/apps/gpu/DiluteGravityCurrents_Case1/DiluteGravityCurrents_Case1.cpp b/apps/gpu/DiluteGravityCurrents_Case1/DiluteGravityCurrents_Case1.cpp
index f8db69619aee4e503f65e23da682ce07ec35ebe2..6473af944693e24440ce68137344d359f6c2e2df 100644
--- a/apps/gpu/DiluteGravityCurrents_Case1/DiluteGravityCurrents_Case1.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case1/DiluteGravityCurrents_Case1.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case2/DiluteGravityCurrents_Case2.cpp b/apps/gpu/DiluteGravityCurrents_Case2/DiluteGravityCurrents_Case2.cpp
index 3919e6ab61c87e6571a9fbcacd9a49274afe8a14..f0400a718ff17fe0fbb2f6edcea7997e9bf4f151 100644
--- a/apps/gpu/DiluteGravityCurrents_Case2/DiluteGravityCurrents_Case2.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case2/DiluteGravityCurrents_Case2.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case3/DiluteGravityCurrents_Case3.cpp b/apps/gpu/DiluteGravityCurrents_Case3/DiluteGravityCurrents_Case3.cpp
index 1948df12b5e5ba0310e4abbff291c102de672d02..d452efdecabe07e730926d62efbd6af4f0bec555 100644
--- a/apps/gpu/DiluteGravityCurrents_Case3/DiluteGravityCurrents_Case3.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case3/DiluteGravityCurrents_Case3.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case4/DiluteGravityCurrents_Case4.cpp b/apps/gpu/DiluteGravityCurrents_Case4/DiluteGravityCurrents_Case4.cpp
index 4d35b8282d012ade4f129fadf440498b0da7af58..96ea163ea10c201eeb7270bdc24f06317e29d129 100644
--- a/apps/gpu/DiluteGravityCurrents_Case4/DiluteGravityCurrents_Case4.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case4/DiluteGravityCurrents_Case4.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case5/DiluteGravityCurrents_Case5.cpp b/apps/gpu/DiluteGravityCurrents_Case5/DiluteGravityCurrents_Case5.cpp
index 99489563f0a777530f6c2005595d87958dbea23c..849f1b35b3288c53f5c4925a2451dae083e0ef8d 100644
--- a/apps/gpu/DiluteGravityCurrents_Case5/DiluteGravityCurrents_Case5.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case5/DiluteGravityCurrents_Case5.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case6/DiluteGravityCurrents_Case6.cpp b/apps/gpu/DiluteGravityCurrents_Case6/DiluteGravityCurrents_Case6.cpp
index d5e795d2f8582c970ff24da480dab20f70d900c5..751928fca4de3038e8532cc8c020a522492606ee 100644
--- a/apps/gpu/DiluteGravityCurrents_Case6/DiluteGravityCurrents_Case6.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case6/DiluteGravityCurrents_Case6.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case7/DiluteGravityCurrents_Case7.cpp b/apps/gpu/DiluteGravityCurrents_Case7/DiluteGravityCurrents_Case7.cpp
index 94c45abc93252579d58530336b84fe8b9602c105..a6ac0ebb4a109889acbf6f7f4107a78c1e346c47 100644
--- a/apps/gpu/DiluteGravityCurrents_Case7/DiluteGravityCurrents_Case7.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case7/DiluteGravityCurrents_Case7.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;
diff --git a/apps/gpu/DiluteGravityCurrents_Case8/DiluteGravityCurrents_Case8.cpp b/apps/gpu/DiluteGravityCurrents_Case8/DiluteGravityCurrents_Case8.cpp
index 4a7dd52a20bce0eed60a094f4cce615cfeeab13c..94c0d76ef5ec2ffb0ac3c6cf2556913ed4b9db92 100644
--- a/apps/gpu/DiluteGravityCurrents_Case8/DiluteGravityCurrents_Case8.cpp
+++ b/apps/gpu/DiluteGravityCurrents_Case8/DiluteGravityCurrents_Case8.cpp
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
         if (lbmOrGks == LBM) {
             SPtr<Parameter> para = Parameter::make();
 
-            real DeltaT = 2.5 * (real)nx / velocityLB;
+            real DeltaT = (real)2.5 * (real)nx / velocityLB;
 
             const uint timeStepOut = (int)DeltaT;
             const uint timeStepEnd = (int)DeltaT * 12;