summaryrefslogtreecommitdiffstats
path: root/src/H5FD.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-02 19:59:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-02 19:59:46 (GMT)
commit79aecf895393d2871764a9405c9698fd73225925 (patch)
treee14ce866c67d4ef68916e8b79c2f3c35dc51c463 /src/H5FD.c
parenta36a5b30d79f037169fc5cf95a2a600ded674409 (diff)
downloadhdf5-79aecf895393d2871764a9405c9698fd73225925.zip
hdf5-79aecf895393d2871764a9405c9698fd73225925.tar.gz
hdf5-79aecf895393d2871764a9405c9698fd73225925.tar.bz2
[svn-r12706] Description:
Clean up some of the warnings on 64-bit Linux... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) Too minor to require h5committest
Diffstat (limited to 'src/H5FD.c')
-rw-r--r--src/H5FD.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index 3388492..f5c7a85 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -116,7 +116,7 @@ H5FD_init_interface(void)
FUNC_ENTER_NOAPI_NOINIT(H5FD_init_interface)
- if(H5I_register_type(H5I_VFL, H5I_VFL_HASHSIZE, 0, (H5I_free_t)H5FD_free_cls)<H5I_FILE)
+ if(H5I_register_type(H5I_VFL, (size_t)H5I_VFL_HASHSIZE, 0, (H5I_free_t)H5FD_free_cls)<H5I_FILE)
HGOTO_ERROR(H5E_VFL, H5E_CANTINIT, FAIL, "unable to initialize interface")
/* Reset the file serial numbers */
@@ -3806,9 +3806,9 @@ H5FD_get_freespace(const H5FD_t *file)
H5FD_free_t *free_node; /* Pointer to node on free list */
H5FD_mem_t type; /* Type of memory */
haddr_t ma_addr = HADDR_UNDEF; /* Base "metadata aggregator" address */
- hsize_t ma_size; /* Size of "metadata aggregator" */
+ hsize_t ma_size = 0; /* Size of "metadata aggregator" */
haddr_t sda_addr = HADDR_UNDEF; /* Base "small data aggregator" address */
- hsize_t sda_size; /* Size of "small data aggregator" */
+ hsize_t sda_size = 0; /* Size of "small data aggregator" */
haddr_t eoa; /* End of allocated space in the file */
hssize_t ret_value = 0; /* Return value */