From e95f07dc6b1a58583a31bbf285dee16fe3cc4460 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Sun, 3 Mar 2002 11:48:09 -0500 Subject: [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) --- c++/src/H5DataType.cpp | 2 +- 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; -- cgit v0.12