diff options
-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]); |