aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SetGrid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SetGrid.c b/src/SetGrid.c
index c929695..e165184 100644
--- a/src/SetGrid.c
+++ b/src/SetGrid.c
@@ -17,7 +17,7 @@
static const char *rcsid = "$Header$";
-CCTK_FILEVERSION(BetaThorns_Cartoon2D_SetGrid_c)
+CCTK_FILEVERSION(BetaThorns_Cartoon2D_SetGrid_c);
/********************************************************************
********************* Local Data Types ***********************
@@ -203,10 +203,10 @@ void Cartoon2D_SetGrid(void)
*/
zmin = zmax = 0;
- domain = *(const char **) CCTK_ParameterGet("domain", "cartgrid3d", NULL);
+ domain = *((const char * const *) CCTK_ParameterGet("domain", "cartgrid3d", NULL));
if (!strcmp(domain, "bitant"))
{
- plane = *(const char **) CCTK_ParameterGet("bitant_plane", "cartgrid3d", NULL);
+ plane = *(const char * const *) CCTK_ParameterGet("bitant_plane", "cartgrid3d", NULL);
if (strcmp(plane, "xy"))
CCTK_WARN(0, "Cartoon2D requires grid::bitant_plane=\"xy\"");