diff options
author | yye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a> | 2004-08-26 16:21:39 +0000 |
---|---|---|
committer | yye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a> | 2004-08-26 16:21:39 +0000 |
commit | e9765897c6c65b42ae1cb093ab3a02b38243dd16 (patch) | |
tree | eef3396f2c63cbdc77ea35abffb32d793636cdd4 | |
parent | 1f543eb0efb2ef00fea2ac2829b41ec7a9994ede (diff) |
warning fixes
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@29 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r-- | src/ReductionAvg.c | 2 | ||||
-rw-r--r-- | src/ReductionCount.c | 2 | ||||
-rw-r--r-- | src/ReductionMax.c | 2 | ||||
-rw-r--r-- | src/ReductionMin.c | 2 | ||||
-rw-r--r-- | src/ReductionNorm1.c | 2 | ||||
-rw-r--r-- | src/ReductionNorm2.c | 2 | ||||
-rw-r--r-- | src/ReductionNorm3.c | 2 | ||||
-rw-r--r-- | src/ReductionNorm4.c | 2 | ||||
-rw-r--r-- | src/ReductionNormInf.c | 2 | ||||
-rw-r--r-- | src/ReductionSum.c | 2 | ||||
-rw-r--r-- | src/local_reductions.h | 1 |
11 files changed, 11 insertions, 10 deletions
diff --git a/src/ReductionAvg.c b/src/ReductionAvg.c index ee1c2bc..4191220 100644 --- a/src/ReductionAvg.c +++ b/src/ReductionAvg.c @@ -208,7 +208,7 @@ static int ReductionAvg (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionCount.c b/src/ReductionCount.c index 91ff58d..52b29c3 100644 --- a/src/ReductionCount.c +++ b/src/ReductionCount.c @@ -211,7 +211,7 @@ static int ReductionCount (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionMax.c b/src/ReductionMax.c index 3137bc3..453cc10 100644 --- a/src/ReductionMax.c +++ b/src/ReductionMax.c @@ -212,7 +212,7 @@ static int ReductionMax (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionMin.c b/src/ReductionMin.c index c0fd0c0..ebfe389 100644 --- a/src/ReductionMin.c +++ b/src/ReductionMin.c @@ -208,7 +208,7 @@ static int ReductionMin (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionNorm1.c b/src/ReductionNorm1.c index 64e353e..93b2bd5 100644 --- a/src/ReductionNorm1.c +++ b/src/ReductionNorm1.c @@ -208,7 +208,7 @@ static int ReductionL1 (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionNorm2.c b/src/ReductionNorm2.c index dc150b6..dc25dba 100644 --- a/src/ReductionNorm2.c +++ b/src/ReductionNorm2.c @@ -208,7 +208,7 @@ static int ReductionL2 (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionNorm3.c b/src/ReductionNorm3.c index 709d7c3..768d470 100644 --- a/src/ReductionNorm3.c +++ b/src/ReductionNorm3.c @@ -208,7 +208,7 @@ static int ReductionL3 (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionNorm4.c b/src/ReductionNorm4.c index 20178a9..7cdbdf8 100644 --- a/src/ReductionNorm4.c +++ b/src/ReductionNorm4.c @@ -208,7 +208,7 @@ static int ReductionL4 (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionNormInf.c b/src/ReductionNormInf.c index 3cadb9e..02ac097 100644 --- a/src/ReductionNormInf.c +++ b/src/ReductionNormInf.c @@ -208,7 +208,7 @@ static int ReductionLInf (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/ReductionSum.c b/src/ReductionSum.c index d3e7b8d..3eaaf4f 100644 --- a/src/ReductionSum.c +++ b/src/ReductionSum.c @@ -208,7 +208,7 @@ static int ReductionSum (int N_dims, int operator_handle, if ( Util_TableQueryNKeys(param_table_handle) != 0) { ierr = 0; - ierr = Util_TableGetInt(param_table_handle, mask_type_code, "mask_type_code"); + ierr = Util_TableGetInt(param_table_handle, &mask_type_code, "mask_type_code"); /* mask_valid_min, mask_valid_max; ierr = Util_TableGetGeneric(param_table_handle, mask_type_code, diff --git a/src/local_reductions.h b/src/local_reductions.h index 57b2567..5f3f5e3 100644 --- a/src/local_reductions.h +++ b/src/local_reductions.h @@ -13,6 +13,7 @@ #include "cctk.h" +#include "util_Table.h" #include "cctk_Reduction.h" |