aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2008-01-28 16:07:18 +0000
committerschnetter <schnetter@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2008-01-28 16:07:18 +0000
commit070ef19269b97508829245b3f3376c2cddae14d4 (patch)
tree5a58790a1fe8e7da29201b3953fd40509468414d
parenta60b8de413b6ed4b7609fffa9c19154c7914b2c3 (diff)
Explicitly convert size_t to int
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@254 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-rw-r--r--src/Utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.c b/src/Utils.c
index 7ea6e90..dfb3a8c 100644
--- a/src/Utils.c
+++ b/src/Utils.c
@@ -841,7 +841,7 @@ static void SetOutputVar (int vindex, const char *optstring, void *arg)
{
int unchunked = -1;
if (type == CCTK_VARIABLE_CHAR &&
- nelems >= sizeof ("no")-1 && nelems <= sizeof ("false")-1)
+ nelems >= (int) sizeof ("no")-1 && nelems <= (int) sizeof ("false")-1)
{
char value[sizeof ("false")];
Util_TableGetString (table, sizeof (value), value, "out_unchunked");