summaryrefslogtreecommitdiffstats
path: root/c++/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-10-17 14:57:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-10-17 14:57:53 (GMT)
commit0cec5adf06503f7b0669b35e2833803308400c8e (patch)
tree8465b671dcb868908013f95e25d2a7a71594e387 /c++/src
parentf49ae55a0fcecdc0d750933d708d43478afc9f19 (diff)
downloadhdf5-0cec5adf06503f7b0669b35e2833803308400c8e.zip
hdf5-0cec5adf06503f7b0669b35e2833803308400c8e.tar.gz
hdf5-0cec5adf06503f7b0669b35e2833803308400c8e.tar.bz2
[svn-r4553] Purpose:
Bug fix. Description: Fix int/unsigned problem in C++ wrapper API Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'c++/src')
-rw-r--r--c++/src/H5FcreatProp.cpp4
-rw-r--r--c++/src/H5FcreatProp.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/H5FcreatProp.cpp b/c++/src/H5FcreatProp.cpp
index 3d4b21f..61abfb5 100644
--- a/c++/src/H5FcreatProp.cpp
+++ b/c++/src/H5FcreatProp.cpp
@@ -72,7 +72,7 @@ void FileCreatPropList::getSizes( size_t& sizeof_addr, size_t& sizeof_size ) con
}
}
-void FileCreatPropList::setSymk( int ik, int lk ) const
+void FileCreatPropList::setSymk( int ik, unsigned lk ) const
{
herr_t ret_value = H5Pset_sym_k( id, ik, lk );
if( ret_value < 0 )
@@ -82,7 +82,7 @@ void FileCreatPropList::setSymk( int ik, int lk ) const
}
}
-void FileCreatPropList::getSymk( int& ik, int& lk ) const
+void FileCreatPropList::getSymk( int& ik, unsigned& lk ) const
{
herr_t ret_value = H5Pget_sym_k( id, &ik, &lk );
if( ret_value < 0 )
diff --git a/c++/src/H5FcreatProp.h b/c++/src/H5FcreatProp.h
index 50e70b4..9dda55c 100644
--- a/c++/src/H5FcreatProp.h
+++ b/c++/src/H5FcreatProp.h
@@ -34,11 +34,11 @@ class FileCreatPropList : public PropList {
void getSizes( size_t& sizeof_addr, size_t& sizeof_size ) const;
// Sets the size of parameters used to control the symbol table nodes.
- void setSymk( int int_nodes_k, int leaf_nodes_k ) const;
+ void setSymk( int int_nodes_k, unsigned leaf_nodes_k ) const;
// Retrieves the size of the symbol table B-tree 1/2 rank and the
// symbol table leaf node 1/2 size.
- void getSymk( int& int_nodes_k, int& leaf_nodes_k ) const;
+ void getSymk( int& int_nodes_k, unsigned& leaf_nodes_k ) const;
// Sets the size of parameter used to control the B-trees for
// indexing chunked datasets.