summaryrefslogtreecommitdiffstats
path: root/c++/test/tcompound.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-09 04:03:03 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-09 04:03:03 (GMT)
commit0dc4ce37046c373ca48ed5d186e3598d7b48ed35 (patch)
tree205b77bbf5f08909ec4ac2aad5164bd49e6b674e /c++/test/tcompound.cpp
parent5ae7ad342d42a9d6384edc3e465f57fa35ada5de (diff)
downloadhdf5-0dc4ce37046c373ca48ed5d186e3598d7b48ed35.zip
hdf5-0dc4ce37046c373ca48ed5d186e3598d7b48ed35.tar.gz
hdf5-0dc4ce37046c373ca48ed5d186e3598d7b48ed35.tar.bz2
[svn-r24994] Purpose: Removed some warnings
Description: Turned on warnings and removed some of those. 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 3258253..156f438 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();