diff options
Diffstat (limited to 'src/CoordBase.c')
-rw-r--r-- | src/CoordBase.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CoordBase.c b/src/CoordBase.c index c73f438..36bdc2a 100644 --- a/src/CoordBase.c +++ b/src/CoordBase.c @@ -268,7 +268,7 @@ CCTK_INT CoordBase_CoordRegister(CCTK_POINTER_TO_CONST GH, if (Util_TableGetInt(systemhandle, &system_dimension,"DIMENSION") < 0) { CCTK_VWarn(1,__LINE__,__FILE__,CCTK_THORNSTRING, "Invalid system handle " - "%d", systemhandle); + "%d", (int)systemhandle); coordinate_handle = COORDERROR_INVALIDHANDLE; } @@ -277,7 +277,7 @@ CCTK_INT CoordBase_CoordRegister(CCTK_POINTER_TO_CONST GH, { CCTK_VWarn(1,__LINE__,__FILE__,CCTK_THORNSTRING, "Invalid 'direction'. " "It but be an integer from 1 to the coordinate system " - "dimension %d.", system_dimension); + "dimension %d.", (int)system_dimension); coordinate_handle = COORDERROR_INVALIDDIM; } @@ -303,7 +303,7 @@ CCTK_INT CoordBase_CoordRegister(CCTK_POINTER_TO_CONST GH, if (coordinate_tables[direction-1]>=0) { CCTK_VWarn(1,__LINE__,__FILE__,CCTK_THORNSTRING, "Coordinate already " - "registered for direction %d", direction); + "registered for direction %d", (int)direction); coordinate_handle = COORDERROR_COORDINATEEXISTS; } @@ -643,7 +643,7 @@ CCTK_INT CoordBase_SetDefaultSystem(CCTK_POINTER_TO_CONST GH, { CCTK_VWarn(1,__LINE__,__FILE__,CCTK_THORNSTRING, "Default coordinate " "system for %d dimensional grid variables is already set. " - "Overwriting to '%s'.", system_dimension, systemname); + "Overwriting to '%s'.", (int)system_dimension, systemname); retval = COORDERROR_DEFAULTEXISTS; } else |