diff options
author | eschnett <eschnett@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2014-03-23 02:13:34 +0000 |
---|---|---|
committer | eschnett <eschnett@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2014-03-23 02:13:34 +0000 |
commit | d0f68338ef003543b406a48b231bcf19bb45a338 (patch) | |
tree | 416e249bb265405c804c7cdf36ae60f4a7f4d134 | |
parent | ff27813018d94001fc5c120c8401df61fa157268 (diff) |
Avoid compiler warning
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@326 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r-- | src/Check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Check.c b/src/Check.c index 0bf0a75..f99b6a8 100644 --- a/src/Check.c +++ b/src/Check.c @@ -133,7 +133,7 @@ void BndSanityCheckWidths(const cGH *GH, char *fullname = CCTK_FullName (varindex); const char dims[3] = "xyz"; const char *cond = boundary_widths[i] < 0 ? "<0" : ">100"; - assert (dim < sizeof(dims)); + assert (dim < (int)sizeof(dims)); CCTK_VError (__LINE__, __FILE__, CCTK_THORNSTRING, "Tried to register a physical boundary condition \"%s\" for variable \"%s\" with a boundary zone width %s in the %c direction -- this looks like an error.", bcname, fullname, cond, dims[dim]); |