summaryrefslogtreecommitdiffstats
path: root/test/gen_filespace.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-04-12 16:59:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-04-12 16:59:33 (GMT)
commite4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3 (patch)
tree51db953096306b494651d0c794e5110a98d96259 /test/gen_filespace.c
parent9af7a65b4fb46cb61df85eeff49a3ba0f018d863 (diff)
downloadhdf5-e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3.zip
hdf5-e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3.tar.gz
hdf5-e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3.tar.bz2
[svn-r20480] Description:
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 FreeBSD/32 6.3 (duty) w/debug FreeBSD/64 6.3 (liberty) w/debug Solaris/32 2.7 (linew) w/debug
Diffstat (limited to 'test/gen_filespace.c')
-rw-r--r--test/gen_filespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen_filespace.c b/test/gen_filespace.c
index 293e3df..7ee2a7a 100644
--- a/test/gen_filespace.c
+++ b/test/gen_filespace.c
@@ -45,7 +45,7 @@ static void gen_file(void)
unsigned i, j; /* Local index variable */
H5F_file_space_type_t fs_type; /* File space handling strategy */
- for(j = 0, fs_type = H5F_FILE_SPACE_ALL_PERSIST; j < NELMTS(FILENAMES); j++, (H5F_file_space_type_t)(fs_type)++) {
+ for(j = 0, fs_type = H5F_FILE_SPACE_ALL_PERSIST; j < NELMTS(FILENAMES); j++, fs_type = (H5F_file_space_type_t)(fs_type + 1)) {
/* Get a copy of the default file creation property */
fcpl = H5Pcreate(H5P_FILE_CREATE);