From 254262e35b538e09ff95eefc9a276fb390243861 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Thu, 26 Oct 2006 11:21:07 -0500 Subject: [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. --- c++/test/trefer.cpp | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v0.12