summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-03-01 21:10:29 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-03-01 21:10:29 (GMT)
commit0bb7111f436731fc765b00c8ef17368d1f57b126 (patch)
treee5e64bc9e8e475c24ccc01da98c88ffb19d60553 /c++/src/H5DataType.cpp
parent3f4184c6d3795acad440206f0bd88d89df21a137 (diff)
downloadhdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.zip
hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.gz
hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.bz2
[svn-r5030]
Purpose: Small bug fixing Description: Replaced NULL by 0 for initializing or passing null "string". The problem showed up on platinum. Platforms tested: SunOS 5.7 (arabica) Linux 6.2 (eirene) IA-32 Linux Cluster (platinum)
Diffstat (limited to 'c++/src/H5DataType.cpp')
-rw-r--r--c++/src/H5DataType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5DataType.cpp b/c++/src/H5DataType.cpp
index bef66f3..fad6436 100644
--- a/c++/src/H5DataType.cpp
+++ b/c++/src/H5DataType.cpp
@@ -322,7 +322,7 @@ void DataType::p_close() const
herr_t ret_value = H5Tclose( id );
if( ret_value < 0 )
{
- throw DataTypeIException(NULL, "H5Tclose failed");
+ throw DataTypeIException(0, "H5Tclose failed");
}
}
}