summaryrefslogtreecommitdiffstats
path: root/c++/test/tcompound.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-12 04:02:26 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-12 04:02:26 (GMT)
commita791213860bee1a2990a9b502819f17abf7ff8a0 (patch)
treeeb6a0fb329cf263a781901e4ecfad41809f76fbe /c++/test/tcompound.cpp
parent170b9d0eed23d84bfad64f216b8759b1dc40586c (diff)
downloadhdf5-a791213860bee1a2990a9b502819f17abf7ff8a0.zip
hdf5-a791213860bee1a2990a9b502819f17abf7ff8a0.tar.gz
hdf5-a791213860bee1a2990a9b502819f17abf7ff8a0.tar.bz2
[svn-r25030] Purpose: Fix HDFFV-8658
Description: Turned on warnings and removed some of those. (merged from trunk-r24994) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
Diffstat (limited to 'c++/test/tcompound.cpp')
-rw-r--r--c++/test/tcompound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/tcompound.cpp b/c++/test/tcompound.cpp
index d8e381b..62a90e8 100644
--- a/c++/test/tcompound.cpp
+++ b/c++/test/tcompound.cpp
@@ -793,7 +793,7 @@ static void test_compound_set_size()
// Verify setSize() actually set size
size_t new_size = dtype.getSize();
- verify_val(new_size, 33, "DataType::getSize", __LINE__, __FILE__);
+ verify_val(new_size, (size_t)33, "DataType::getSize", __LINE__, __FILE__);
// Shrink the type, and verify that it became packed
dtype.setSize((size_t)32);
@@ -802,7 +802,7 @@ static void test_compound_set_size()
// Verify setSize() actually set size again
new_size = dtype.getSize();
- verify_val(new_size, 32, "DataType::getSize", __LINE__, __FILE__);
+ verify_val(new_size, (size_t)32, "DataType::getSize", __LINE__, __FILE__);
/* Close types and file */
dtype_tmp.close();