diff options
author | schnetter <schnetter@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2006-08-31 15:10:03 +0000 |
---|---|---|
committer | schnetter <schnetter@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2006-08-31 15:10:03 +0000 |
commit | 5a2781d9d59bfabe9ccbf266fba49370de5058e0 (patch) | |
tree | 5956d9b2183e36bdcf9884ad10012a269729be28 | |
parent | b5dd1cb0a2ed48bad1927428a7b43e7750b627e9 (diff) |
Convert CCTK_INT explicitly to int before calling printf.
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@43 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
-rw-r--r-- | src/InterpLocalUniform.c | 4 |
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 ***/ } |