summaryrefslogtreecommitdiffstats
path: root/src/H5SL.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-18 21:21:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-18 21:21:35 (GMT)
commitaf6276f6543d06c9f18939cc8b810f57397b7a67 (patch)
treeef2c50b7bd22d0967fdab6075864577746e4b147 /src/H5SL.c
parentd8b08dbc85dfe28d926caf3c03e9d60c63d80794 (diff)
downloadhdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.zip
hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.gz
hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.bz2
[svn-r10628] Purpose:
Code cleanup Description: Clean up various warnings reported by the Windows team. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5SL.c')
-rw-r--r--src/H5SL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SL.c b/src/H5SL.c
index 3748644..582bd1a 100644
--- a/src/H5SL.c
+++ b/src/H5SL.c
@@ -573,7 +573,7 @@ H5SL_create(H5SL_type_t type, double p, size_t max_level)
/* Set the static internal fields */
new_slist->type=type;
new_slist->p=p;
- new_slist->p1=p*RAND_MAX;
+ new_slist->p1=(int)(p*RAND_MAX);
new_slist->max_level=max_level;
/* Set the dynamic internal fields */