aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Boundary.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Boundary.c b/src/Boundary.c
index 5d2f7b3..9eaaf05 100644
--- a/src/Boundary.c
+++ b/src/Boundary.c
@@ -955,19 +955,19 @@ CCTK_INT Bdry_Boundary_SelectedGVs(CCTK_POINTER_TO_CONST _GH,
if (faces)
{
- ((int *) faces)[i] = current->faces;
+ faces[i] = current->faces;
}
if (widths)
{
- ((int *) widths)[i] = current->width;
+ widths[i] = current->width;
}
if (table_handles)
{
- ((int *) table_handles)[i] = current->table;
+ table_handles[i] = current->table;
}
if (var_indices)
{
- ((int *) var_indices)[i] = current->var;
+ var_indices[i] = current->var;
}
}
if (j > current_bcdata->num) CCTK_WARN (0, "internal error");