diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-18 16:29:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-18 16:29:33 (GMT) |
commit | 4105dfedb98236c9e2029ff14b0694161aabfb05 (patch) | |
tree | d14f3427f78754ab46d05732133bd27026dc9fb0 /c++/src | |
parent | d99164a9ed4fb031db5d3cf3d3086862f25f48f1 (diff) | |
download | hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.zip hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.tar.gz hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.tar.bz2 |
[svn-r7379] Purpose:
Code cleanup
Description:
Changed version #'s returned from H5Pget_version from 'int *' to
'unsigned *' since we are never going to be using negative version #'s... :-)
Platforms tested:
FreeBSD 4.8 (sleipnir)
too small to need h5committest
Diffstat (limited to 'c++/src')
-rw-r--r-- | c++/src/H5FcreatProp.cpp | 2 | ||||
-rw-r--r-- | c++/src/H5FcreatProp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5FcreatProp.cpp b/c++/src/H5FcreatProp.cpp index e28a891..6c95905 100644 --- a/c++/src/H5FcreatProp.cpp +++ b/c++/src/H5FcreatProp.cpp @@ -34,7 +34,7 @@ FileCreatPropList::FileCreatPropList() : PropList( H5P_FILE_CREATE ) {} FileCreatPropList::FileCreatPropList( const FileCreatPropList& orig ) : PropList( orig ) {} void FileCreatPropList::getVersion( - int& boot, int& freelist, int& stab, int& shhdr ) const + unsigned& boot, unsigned& freelist, unsigned& stab, unsigned& shhdr ) const { herr_t ret_value = H5Pget_version( id, &boot, &freelist, &stab, &shhdr ); if( ret_value < 0 ) diff --git a/c++/src/H5FcreatProp.h b/c++/src/H5FcreatProp.h index 5b73e42..bd6a413 100644 --- a/c++/src/H5FcreatProp.h +++ b/c++/src/H5FcreatProp.h @@ -32,7 +32,7 @@ class H5_DLLCPP FileCreatPropList : public PropList { FileCreatPropList( const FileCreatPropList& orig ); // Retrieves version information for various parts of a file. - void getVersion( int& boot, int& freelist, int& stab, int& shhdr ) const; + void getVersion( unsigned& boot, unsigned& freelist, unsigned& stab, unsigned& shhdr ) const; // Sets the userblock size field of a file creation property list. void setUserblock( hsize_t size ) const; |