diff options
Diffstat (limited to 'Carpet/Carpet')
-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 fa4db13cf..097af15dd 100644 --- a/Carpet/Carpet/src/Recompose.cc +++ b/Carpet/Carpet/src/Recompose.cc @@ -249,7 +249,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 ((cGH*) cctkGH, 0); + CCTK_Exit (const_cast<cGH*> (cctkGH), 0); } return did_change; |