aboutsummaryrefslogtreecommitdiff
path: root/src/RadiationBoundary.c
diff options
context:
space:
mode:
authorschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2006-10-05 16:56:28 +0000
committerschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2006-10-05 16:56:28 +0000
commitafae40cc56a2e241d6bdddd24ff72bedd79a5d36 (patch)
tree47e7152c50e05e71e68319aa5452b9542c8192d0 /src/RadiationBoundary.c
parent64e64f2970eae8f0f92b02350ad0bd8b6ccbd1ba (diff)
Convert expressions explicitly to int before passing them to printf.
Use #ifdef HAVE_CCTK_REAL4 instead of #ifdef CCTK_REAL4. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@290 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/RadiationBoundary.c')
-rw-r--r--src/RadiationBoundary.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RadiationBoundary.c b/src/RadiationBoundary.c
index 479c8bf..f61b4b2 100644
--- a/src/RadiationBoundary.c
+++ b/src/RadiationBoundary.c
@@ -210,7 +210,7 @@ CCTK_INT BndRadiative(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
"Faces specification %d for Radiative boundary conditions on "
"%s is not implemented yet. "
- "Applying Radiative bcs to all (external) faces.", faces[i],
+ "Applying Radiative bcs to all (external) faces.", (int)faces[i],
CCTK_VarName(vars[i]));
}
dir = 0; /* apply bc to all faces */
@@ -1620,19 +1620,19 @@ static int ApplyBndRadiative (const cGH *GH,
RADIATIVE_BOUNDARY (GH->cctk_lsh, widths, CCTK_REAL);
break;
-#ifdef CCTK_REAL4
+#ifdef HAVE_CCTK_REAL4
case CCTK_VARIABLE_REAL4:
RADIATIVE_BOUNDARY (GH->cctk_lsh, widths, CCTK_REAL4);
break;
#endif
-#ifdef CCTK_REAL8
+#ifdef HAVE_CCTK_REAL8
case CCTK_VARIABLE_REAL8:
RADIATIVE_BOUNDARY (GH->cctk_lsh, widths, CCTK_REAL8);
break;
#endif
-#ifdef CCTK_REAL16
+#ifdef HAVE_CCTK_REAL16
case CCTK_VARIABLE_REAL16:
RADIATIVE_BOUNDARY (GH->cctk_lsh, widths, CCTK_REAL16);
break;