From 9d10828a82cfe21a95a95936e59592a84a93b08c Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 5 Mar 2004 19:59:38 +0000 Subject: Do not cast CCTK_INT* to int*. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@262 6a38eb6e-646e-4a02-a296-d141613ad6c4 --- src/Boundary.c | 8 ++++---- 1 file 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"); -- cgit v1.2.3