aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-03-14 15:37:53 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:33 +0000
commit6331a668feb46209e86fcbf6b1b33879d4fc6208 (patch)
tree14641d0fe8423a67c57c3fed78280022eccde276 /Carpet
parente344dae5a9b9b4f3cde4ff612f6076a4fe12dac7 (diff)
Carpet: Use datatype streamsize instead of int
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/Carpet/src/Evolve.cc2
-rw-r--r--Carpet/Carpet/src/Initialise.cc2
-rw-r--r--Carpet/Carpet/src/Recompose.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc
index b3d6716b7..baadd19bd 100644
--- a/Carpet/Carpet/src/Evolve.cc
+++ b/Carpet/Carpet/src/Evolve.cc
@@ -630,7 +630,7 @@ namespace Carpet {
if (output_internal_data) {
CCTK_INFO ("Internal data dump:");
- int const oldprecision = cout.precision();
+ streamsize const oldprecision = cout.precision();
cout.precision (17);
cout << " global_time: " << global_time << endl
<< " leveltimes: " << leveltimes << endl
diff --git a/Carpet/Carpet/src/Initialise.cc b/Carpet/Carpet/src/Initialise.cc
index daa563105..f81c0d368 100644
--- a/Carpet/Carpet/src/Initialise.cc
+++ b/Carpet/Carpet/src/Initialise.cc
@@ -1439,7 +1439,7 @@ namespace Carpet {
if (output_internal_data) {
CCTK_INFO ("Internal data dump:");
- int const oldprecision = cout.precision();
+ streamsize const oldprecision = cout.precision();
cout.precision (17);
cout << " global_time: " << global_time << endl
<< " leveltimes: " << leveltimes << endl
diff --git a/Carpet/Carpet/src/Recompose.cc b/Carpet/Carpet/src/Recompose.cc
index a1bdd6424..598d48a14 100644
--- a/Carpet/Carpet/src/Recompose.cc
+++ b/Carpet/Carpet/src/Recompose.cc
@@ -571,7 +571,7 @@ namespace Carpet {
}
CCTK_INFO ("Grid statistics:");
- const int oldprecision = cout.precision();
+ const streamsize oldprecision = cout.precision();
const ios_base::fmtflags oldflags = cout.flags();
cout.setf (ios::fixed);
for (int ml=0; ml<hh.mglevels(); ++ml) {