diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-31 00:13:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-31 00:13:27 (GMT) |
commit | bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d (patch) | |
tree | b72d46ee0babd2aabd0a34387162b8a0d6c8e09d /test/cache_api.c | |
parent | 3f69573f575390295536c0faa6d083c58a7291fa (diff) | |
download | hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.zip hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.tar.gz hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.tar.bz2 |
[svn-r12833] Description:
Clean up more warnings...
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'test/cache_api.c')
-rw-r--r-- | test/cache_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/cache_api.c b/test/cache_api.c index e72a903..cc55345f 100644 --- a/test/cache_api.c +++ b/test/cache_api.c @@ -1070,8 +1070,8 @@ check_and_validate_cache_hit_rate(hid_t file_id, { /* const char * fcn_name = "check_and_validate_cache_hit_rate()"; */ herr_t result; - int64_t cache_hits; - int64_t cache_accesses; + int64_t cache_hits = 0; + int64_t cache_accesses = 0; double expected_hit_rate; double hit_rate; H5F_t * file_ptr = NULL; @@ -2113,7 +2113,7 @@ H5AC_cache_config_t invalid_configs[NUM_INVALID_CONFIGS] = { /* 1 -- bad rpt_fcn_enabled */ /* int version = */ H5C__CURR_AUTO_SIZE_CTL_VER, - /* hbool_t rpt_fcn_enabled = */ -1, + /* hbool_t rpt_fcn_enabled = */ (hbool_t)-1, /* hbool_t open_trace_file = */ FALSE, /* hbool_t close_trace_file = */ FALSE, /* char trace_file_name[] = */ "", @@ -2142,7 +2142,7 @@ H5AC_cache_config_t invalid_configs[NUM_INVALID_CONFIGS] = /* 2 -- bad open_trace_file */ /* int version = */ H5C__CURR_AUTO_SIZE_CTL_VER, /* hbool_t rpt_fcn_enabled = */ FALSE, - /* hbool_t open_trace_file = */ -1, + /* hbool_t open_trace_file = */ (hbool_t)-1, /* hbool_t close_trace_file = */ FALSE, /* char trace_file_name[] = */ "", /* hbool_t set_initial_size = */ TRUE, @@ -2171,7 +2171,7 @@ H5AC_cache_config_t invalid_configs[NUM_INVALID_CONFIGS] = /* int version = */ H5C__CURR_AUTO_SIZE_CTL_VER, /* hbool_t rpt_fcn_enabled = */ FALSE, /* hbool_t open_trace_file = */ FALSE, - /* hbool_t close_trace_file = */ -1, + /* hbool_t close_trace_file = */ (hbool_t)-1, /* char trace_file_name[] = */ "", /* hbool_t set_initial_size = */ TRUE, /* size_t initial_size = */ (1 * 1024 * 1024), @@ -2630,7 +2630,7 @@ H5AC_cache_config_t invalid_configs[NUM_INVALID_CONFIGS] = /* enum H5C_cache_incr_mode incr_mode = */ H5C_incr__threshold, /* double lower_hr_threshold = */ 0.9, /* double increment = */ 2.0, - /* hbool_t apply_max_increment = */ -1, + /* hbool_t apply_max_increment = */ (hbool_t)-1, /* size_t max_increment = */ (4 * 1024 * 1024), /* enum H5C_cache_decr_mode decr_mode = */ H5C_decr__age_out_with_threshold, /* double upper_hr_threshold = */ 0.999, |