summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-18 21:21:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-18 21:21:35 (GMT)
commitaf6276f6543d06c9f18939cc8b810f57397b7a67 (patch)
treeef2c50b7bd22d0967fdab6075864577746e4b147 /c++
parentd8b08dbc85dfe28d926caf3c03e9d60c63d80794 (diff)
downloadhdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.zip
hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.gz
hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.bz2
[svn-r10628] Purpose:
Code cleanup Description: Clean up various warnings reported by the Windows team. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5DataType.cpp14
-rw-r--r--c++/src/H5DataType.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/c++/src/H5DataType.cpp b/c++/src/H5DataType.cpp
index e370531..c6e7560 100644
--- a/c++/src/H5DataType.cpp
+++ b/c++/src/H5DataType.cpp
@@ -95,13 +95,13 @@ DataType::DataType(const DataType& original) : H5Object(original)
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Modification
-// Replaced resetIdComponent with decRefCount to use new ID
-// reference counting mechanisms by Quincey Koziol, June 1, 2004
+// Replaced resetIdComponent with decRefCount to use C library
+// ID reference counting mechanism - BMR, Feb 20, 2005
//--------------------------------------------------------------------------
void DataType::copy( const DataType& like_type )
{
- // reset the identifier of this instance, H5Tclose will be called
- // if needed
+ // reset the identifier of this instance, H5Tclose will be called
+ // if needed
if( is_predtype == false ) {
try {
decRefCount();
@@ -249,7 +249,7 @@ H5T_conv_t DataType::find( const DataType& dest, H5T_cdata_t **pcdata ) const
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-void DataType::convert( const DataType& dest, hsize_t nelmts, void *buf, void *background, PropList& plist ) const
+void DataType::convert( const DataType& dest, size_t nelmts, void *buf, void *background, PropList& plist ) const
{
// Get identifiers for C API
hid_t dest_id = dest.getId();
@@ -625,8 +625,8 @@ void DataType::close()
///\brief Properly terminates access to this datatype.
// Programmer Binh-Minh Ribler - 2000
// Modification
-// Replaced resetIdComponent with decRefCount to use new ID
-// reference counting mechanisms by Quincey Koziol, June 1, 2004
+// Replaced resetIdComponent with decRefCount to use C library
+// ID reference counting mechanism - BMR, Feb 20, 2005
//--------------------------------------------------------------------------
DataType::~DataType()
{
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h
index 54e9cc9..f6a30ff 100644
--- a/c++/src/H5DataType.h
+++ b/c++/src/H5DataType.h
@@ -51,7 +51,7 @@ class H5_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, hsize_t nelmts, void *buf, void *background, PropList& plist ) const;
+ void convert( const DataType& dest, size_t nelmts, void *buf, void *background, PropList& plist ) const;
// Assignment operator
DataType& operator=( const DataType& rhs );