summaryrefslogtreecommitdiffstats
path: root/c++/test/trefer.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-10-26 16:21:07 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-10-26 16:21:07 (GMT)
commit254262e35b538e09ff95eefc9a276fb390243861 (patch)
tree75db70cd3ef7a64eba6956718a4463ec4bb024a4 /c++/test/trefer.cpp
parent7f295dcb3cba9bb1161cda4335836eeea38a9cd6 (diff)
downloadhdf5-254262e35b538e09ff95eefc9a276fb390243861.zip
hdf5-254262e35b538e09ff95eefc9a276fb390243861.tar.gz
hdf5-254262e35b538e09ff95eefc9a276fb390243861.tar.bz2
[svn-r12817] Purpose: Minor fix
Description: Added (long) to a verify_val call. Platforms tested: Linux 2.6 (kagiso) - very minor, and Kent will test it on Windows, because that was where it was complained about.
Diffstat (limited to 'c++/test/trefer.cpp')
-rw-r--r--c++/test/trefer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/c++/test/trefer.cpp b/c++/test/trefer.cpp
index f997ffd..9ef6240 100644
--- a/c++/test/trefer.cpp
+++ b/c++/test/trefer.cpp
@@ -89,7 +89,6 @@ test_reference_obj(void)
{
int i; // counting variables
const H5std_string write_comment="Foo!"; // Comments for group
- char read_comment[10];
// Output message about test being performed
MESSAGE(5, ("Testing Object Reference Functions\n"));
@@ -201,7 +200,7 @@ test_reference_obj(void)
// Check information in the referenced dataset
sid1 = dset2.getSpace();
hssize_t n_elements = sid1.getSimpleExtentNpoints();
- verify_val(n_elements, 4, "DataSpace::getSimpleExtentNpoints", __LINE__, __FILE__);
+ verify_val((long)n_elements, (long)4, "DataSpace::getSimpleExtentNpoints", __LINE__, __FILE__);
// Read from disk
dset2.read(tbuf, PredType::NATIVE_UINT);