summaryrefslogtreecommitdiffstats
path: root/test/big.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-04-22 17:48:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-04-22 17:48:24 (GMT)
commite5fc40662c6520edc50c7e68c96e24eb766972f2 (patch)
treec619f15e55b290c16fc082da15746864ba7c5b81 /test/big.c
parent7527ed7d6f3d122e2b00e919c4a8d993b1e196be (diff)
downloadhdf5-e5fc40662c6520edc50c7e68c96e24eb766972f2.zip
hdf5-e5fc40662c6520edc50c7e68c96e24eb766972f2.tar.gz
hdf5-e5fc40662c6520edc50c7e68c96e24eb766972f2.tar.bz2
[svn-r5219] Purpose:
Code cleanup Description: Clean up warnings from gcc 3.1 Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'test/big.c')
-rw-r--r--test/big.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/big.c b/test/big.c
index 2cb17d8..26a0269 100644
--- a/test/big.c
+++ b/test/big.c
@@ -25,7 +25,7 @@ const char *FILENAME[] = {
#endif
/* Protocols */
-void usage(void);
+static void usage(void);
/*-------------------------------------------------------------------------
@@ -403,6 +403,7 @@ main (int ac, char **av)
hid_t fapl=-1;
hsize_t family_size;
hsize_t family_size_def; /* default family file size */
+ double family_size_def_dbl; /* default family file size */
int cflag=1; /* check file system before test */
/* parameters setup */
@@ -414,7 +415,8 @@ main (int ac, char **av)
/* specify a different family file size */
ac--; av++;
if (ac > 0){
- family_size_def = (hsize_t) atof(*av);
+ family_size_def_dbl = atof(*av);
+ H5_ASSIGN_OVERFLOW(family_size_def,family_size_def_dbl,double,hsize_t);
if (family_size_def <= 0)
family_size_def = (hsize_t)FAMILY_SIZE;
}