aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Recompose.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2009-12-04 21:43:07 -0800
committerErik Schnetter <schnetter@cct.lsu.edu>2009-12-04 21:43:07 -0800
commit7381d58672a1c482bb527cd493de0048f6eb5dce (patch)
tree5fe4ccffbe2f78465067d39ba1aa02e626d708a1 /Carpet/Carpet/src/Recompose.cc
parent449ea64f51a74d07505c4960647df48eac02e8c1 (diff)
Carpet: Add const-removing cast when calling CCTK_Exit
Diffstat (limited to 'Carpet/Carpet/src/Recompose.cc')
-rw-r--r--Carpet/Carpet/src/Recompose.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/Recompose.cc b/Carpet/Carpet/src/Recompose.cc
index 68024f3f7..a1bdd6424 100644
--- a/Carpet/Carpet/src/Recompose.cc
+++ b/Carpet/Carpet/src/Recompose.cc
@@ -243,7 +243,7 @@ namespace Carpet {
if (enable_no_storage) {
CCTK_WARN (CCTK_WARN_ALERT,
"Carpet completed its internal setup, and would now normally go on to allocate memory. Since the parameter Carpet::enable_no_storage has been set, Carpet will exit instead.");
- CCTK_Exit (cctkGH, 0);
+ CCTK_Exit ((cGH*) cctkGH, 0);
}
return did_change;