aboutsummaryrefslogtreecommitdiff
path: root/src/InterpLocalUniform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/InterpLocalUniform.c')
-rw-r--r--src/InterpLocalUniform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/InterpLocalUniform.c b/src/InterpLocalUniform.c
index 96a2cb7..30a5f9a 100644
--- a/src/InterpLocalUniform.c
+++ b/src/InterpLocalUniform.c
@@ -1540,7 +1540,7 @@ if (p_interp_fn == NULL_INTERP_FN_PTR)
" interp_operator=\"%s\", N_dims=%d\n"
" molecule_family=\"%s\", order=%d, smoothing=%d",
interp_operator_string, N_dims,
- molecule_family_string, order, smoothing);
+ molecule_family_string, (int)order, (int)smoothing);
return UTIL_ERROR_BAD_INPUT; /*** ERROR RETURN ***/
}
@@ -2243,7 +2243,7 @@ if (check_range_flag)
"\n"
" CCTK_InterpLocalUniform(): %s=%d is invalid!\n"
" valid range is %d <= %s <= %s=%d",
- name, value,
+ name, (int)value,
min_value, name, max_value_string, max_value);
return UTIL_ERROR_BAD_INPUT; /*** ERROR RETURN ***/
}