diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2002-03-03 16:48:09 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2002-03-03 16:48:09 (GMT) |
commit | e95f07dc6b1a58583a31bbf285dee16fe3cc4460 (patch) | |
tree | 768451ead242b5133c94976ae90252f064e73012 /c++ | |
parent | 22c5ce3c5f901d7df4365a7a28ce78025ce44bdb (diff) | |
download | hdf5-e95f07dc6b1a58583a31bbf285dee16fe3cc4460.zip hdf5-e95f07dc6b1a58583a31bbf285dee16fe3cc4460.tar.gz hdf5-e95f07dc6b1a58583a31bbf285dee16fe3cc4460.tar.bz2 |
[svn-r5032]
Purpose:
Code cleanup
Description:
DataType::convert: changed the 'nelmts' parameter from size_t to
hsize_t according to hdf5 library change.
Platforms tested:
SunOS 5.7 (arabica)
Linux 6.2 (eirene)
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5DataType.cpp | 2 | ||||
-rw-r--r-- | c++/src/H5DataType.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5DataType.cpp b/c++/src/H5DataType.cpp index fad6436..5463722 100644 --- a/c++/src/H5DataType.cpp +++ b/c++/src/H5DataType.cpp @@ -151,7 +151,7 @@ H5T_conv_t DataType::find( const DataType& dest, H5T_cdata_t **pcdata ) const } // Converts data from between specified datatypes. -void DataType::convert( const DataType& dest, size_t nelmts, void *buf, void *background, PropList& plist ) const +void DataType::convert( const DataType& dest, hsize_t nelmts, void *buf, void *background, PropList& plist ) const { // Get identifiers for C API hid_t dest_id = dest.getId(); diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index 7c28383..2d70bda 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -34,7 +34,7 @@ class __DLLCPP__ DataType : public H5Object { H5T_conv_t find( const DataType& dest, H5T_cdata_t **pcdata ) const; // Converts data from between specified datatypes. - void convert( const DataType& dest, size_t nelmts, void *buf, void *background, PropList& plist ) const; + void convert( const DataType& dest, hsize_t nelmts, void *buf, void *background, PropList& plist ) const; // Sets the overflow handler to a specified function. void setOverflow(H5T_overflow_t func) const; |