diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-04-12 17:58:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-04-12 17:58:28 (GMT) |
commit | c0958cb7547bbb7816582168b2f615ac293067e2 (patch) | |
tree | 4154808faf14ab43b00997e637e3ef161a37e220 /test/dsets.c | |
parent | 30fee2b4da466372f2a7d9bee85fc7af49746d60 (diff) | |
download | hdf5-c0958cb7547bbb7816582168b2f615ac293067e2.zip hdf5-c0958cb7547bbb7816582168b2f615ac293067e2.tar.gz hdf5-c0958cb7547bbb7816582168b2f615ac293067e2.tar.bz2 |
[svn-r20481] Description:
Bring r20480 from trunk to 1.8 branch:
Remove global variable for the path name in the group traversal code. Also
clean up a bunch of compiler warnings.
Tested on:
Mac OS X/32 10.6.7 (amazon) w/debug & production
(h5committested on trunk)
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dsets.c b/test/dsets.c index 682dfce..627fdae 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -4089,7 +4089,7 @@ test_nbit_int_size(hid_t file) */ if((precision = H5Tget_precision(datatype)) == 0) { H5_FAILED(); - printf(" Line %d: wrong precision size: %d\n",__LINE__, precision); + printf(" Line %d: wrong precision size: %zu\n",__LINE__, precision); goto error; } /* end if */ @@ -4099,7 +4099,7 @@ test_nbit_int_size(hid_t file) if((dset_size = H5Dget_storage_size(dataset)) < DSET_DIM1*DSET_DIM2*(precision/8) || dset_size > DSET_DIM1*DSET_DIM2*(precision/8) + 1*KB) { H5_FAILED(); - printf(" Line %d: wrong dataset size: %d\n",__LINE__, dset_size); + HDfprintf(stdout, " Line %d: wrong dataset size: %Hu\n",__LINE__, dset_size); goto error; } /* end if */ @@ -4296,7 +4296,7 @@ test_nbit_flt_size(hid_t file) */ if((precision = H5Tget_precision(datatype)) == 0) { H5_FAILED(); - printf(" Line %d: wrong precision size: %d\n",__LINE__, precision); + printf(" Line %d: wrong precision size: %zu\n",__LINE__, precision); goto error; } /* end if */ @@ -4306,7 +4306,7 @@ test_nbit_flt_size(hid_t file) if((dset_size = H5Dget_storage_size(dataset)) < DSET_DIM1*DSET_DIM2*(precision/8) || dset_size > DSET_DIM1*DSET_DIM2*(precision/8) + 1*KB) { H5_FAILED(); - printf(" Line %d: wrong dataset size: %d\n",__LINE__, dset_size); + HDfprintf(stdout, " Line %d: wrong dataset size: %Hu\n",__LINE__, dset_size); goto error; } /* end if */ |