diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2009-12-04 21:43:07 -0800 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2009-12-04 21:43:07 -0800 |
commit | 7381d58672a1c482bb527cd493de0048f6eb5dce (patch) | |
tree | 5fe4ccffbe2f78465067d39ba1aa02e626d708a1 /Carpet/Carpet/src/Recompose.cc | |
parent | 449ea64f51a74d07505c4960647df48eac02e8c1 (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.cc | 2 |
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; |