[svn-r7201] Purpose:

Code cleanup

Description:
    Finish converting the B-tree 'K' values to use unsigned integers, rather
than signed ones, since negative amounts of entries in a B-tree node aren't
meaningful.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
This commit is contained in:
Quincey Koziol
2003-07-10 14:39:04 -05:00
parent bdd61d8a80
commit 932101bb80
11 changed files with 259 additions and 37 deletions

View File

@@ -86,7 +86,7 @@ void FileCreatPropList::getSizes( size_t& sizeof_addr, size_t& sizeof_size ) con
}
}
void FileCreatPropList::setSymk( int ik, unsigned lk ) const
void FileCreatPropList::setSymk( unsigned ik, unsigned lk ) const
{
herr_t ret_value = H5Pset_sym_k( id, ik, lk );
if( ret_value < 0 )
@@ -96,7 +96,7 @@ void FileCreatPropList::setSymk( int ik, unsigned lk ) const
}
}
void FileCreatPropList::getSymk( int& ik, unsigned& lk ) const
void FileCreatPropList::getSymk( unsigned& ik, unsigned& lk ) const
{
herr_t ret_value = H5Pget_sym_k( id, &ik, &lk );
if( ret_value < 0 )
@@ -106,7 +106,7 @@ void FileCreatPropList::getSymk( int& ik, unsigned& lk ) const
}
}
void FileCreatPropList::setIstorek( int ik ) const
void FileCreatPropList::setIstorek( unsigned ik ) const
{
herr_t ret_value = H5Pset_istore_k( id, ik );
if( ret_value < 0 )
@@ -115,9 +115,9 @@ void FileCreatPropList::setIstorek( int ik ) const
"H5Pset_istore_k failed");
}
}
int FileCreatPropList::getIstorek() const
unsigned FileCreatPropList::getIstorek() const
{
int ik;
unsigned ik;
herr_t ret_value = H5Pget_istore_k( id, &ik );
if( ret_value < 0 )
{