diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-08 16:54:49 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-08 16:54:49 (GMT) |
commit | 596f9b43271b088bf4f13783024f0a75ac05011c (patch) | |
tree | d1c30cb9aa9a74cda2ab95e3a94e954375398197 /src/H5Gtest.c | |
parent | de5e1d93e44fdab49ab2d6b3bad4042219ad5236 (diff) | |
download | hdf5-596f9b43271b088bf4f13783024f0a75ac05011c.zip hdf5-596f9b43271b088bf4f13783024f0a75ac05011c.tar.gz hdf5-596f9b43271b088bf4f13783024f0a75ac05011c.tar.bz2 |
[svn-r16278] Description:
Update layout information in DCPL to unify all information in one
underlying property and switch to using H5O_layout_t for storing it, which
simplifies things considerably.
Also, fix many compiler warnings.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.5.6 (amazon) in debug mode
Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Diffstat (limited to 'src/H5Gtest.c')
-rw-r--r-- | src/H5Gtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gtest.c b/src/H5Gtest.c index d7f102f..1f09048 100644 --- a/src/H5Gtest.c +++ b/src/H5Gtest.c @@ -529,14 +529,14 @@ H5G_user_path_test(hid_t obj_id, char *user_path, size_t *user_path_len, unsigne /* Retrieve a copy of the user path and put it into the buffer */ if(obj_path->user_path_r) { - size_t len = H5RS_len(obj_path->user_path_r); + ssize_t len = H5RS_len(obj_path->user_path_r); /* Set the user path, if given */ if(user_path) HDstrcpy(user_path, H5RS_get_str(obj_path->user_path_r)); /* Set the length of the path */ - *user_path_len = len; + *user_path_len = (size_t)len; /* Set the user path hidden flag */ *obj_hidden = obj_path->obj_hidden; |