aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2004-03-05 19:59:38 +0000
committerschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2004-03-05 19:59:38 +0000
commit9d10828a82cfe21a95a95936e59592a84a93b08c (patch)
treec7b83ce2807e3ff6a9352ea495935a0969de5328
parentc5c55e2e7e07f6e3b354d9f05e766fd6df8f3cd4 (diff)
Do not cast CCTK_INT* to int*.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@262 6a38eb6e-646e-4a02-a296-d141613ad6c4
-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");