summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-08-03 18:39:34 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-08-03 18:39:34 (GMT)
commitd2dc3525305f2e89c2c2ac582d47bad9b4a3a07e (patch)
tree79252ba697ac3b3ea212f6fb74d176aa7509a060 /src/H5P.c
parent59e9037d38a7c9934f9c6ae7f89320ca8f359443 (diff)
downloadhdf5-d2dc3525305f2e89c2c2ac582d47bad9b4a3a07e.zip
hdf5-d2dc3525305f2e89c2c2ac582d47bad9b4a3a07e.tar.gz
hdf5-d2dc3525305f2e89c2c2ac582d47bad9b4a3a07e.tar.bz2
[svn-r12531] Fixed a bug that occurred with 64-bit compilers. Types were used inconsistently
(the nlinks property was an int in some places and a size_t elsewhere--it is now a size_t everywhere).
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 5c96586..3aa66ce 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -242,7 +242,7 @@ H5P_init_interface(void)
* - Default value for "max number of soft links to traverse"
*/
H5P_genclass_t *lacc_class; /* Pointer to link access property list class created */
- int nlinks = H5L_NLINKS_DEF;
+ size_t nlinks = H5L_NLINKS_DEF;
/* Group creation property class variables. In sequence, they are,
* - Creation property list class to modify
* - Default value for "group info"