summaryrefslogtreecommitdiffstats
path: root/c++/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-10-17 14:57:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-10-17 14:57:53 (GMT)
commit0cec5adf06503f7b0669b35e2833803308400c8e (patch)
tree8465b671dcb868908013f95e25d2a7a71594e387 /c++/test
parentf49ae55a0fcecdc0d750933d708d43478afc9f19 (diff)
downloadhdf5-0cec5adf06503f7b0669b35e2833803308400c8e.zip
hdf5-0cec5adf06503f7b0669b35e2833803308400c8e.tar.gz
hdf5-0cec5adf06503f7b0669b35e2833803308400c8e.tar.bz2
[svn-r4553] Purpose:
Bug fix. Description: Fix int/unsigned problem in C++ wrapper API Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'c++/test')
-rw-r--r--c++/test/tfile.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp
index 1ef6c19..0bb2a36 100644
--- a/c++/test/tfile.cpp
+++ b/c++/test/tfile.cpp
@@ -134,7 +134,8 @@ test_file_create(void)
VERIFY(parm1, F1_OFFSET_SIZE, "FileCreatPropList::getSizes");
VERIFY(parm2, F1_LENGTH_SIZE, "FileCreatPropList::getSizes");
- int iparm1, iparm2; /*file-creation parameters */
+ int iparm1; /*file-creation parameters */
+ unsigned iparm2; /*file-creation parameters */
tmpl1.getSymk( iparm1, iparm2);
VERIFY(iparm1, F1_SYM_INTERN_K, "FileCreatPropList::getSymk");
VERIFY(iparm2, F1_SYM_LEAF_K, "FileCreatPropList::getSymk");
@@ -183,7 +184,8 @@ test_file_create(void)
VERIFY(parm1, F2_OFFSET_SIZE, "FileCreatPropList::getSizes");
VERIFY(parm2, F2_LENGTH_SIZE, "FileCreatPropList::getSizes");
- int iparm1, iparm2; /*file-creation parameters */
+ int iparm1; /*file-creation parameters */
+ unsigned iparm2; /*file-creation parameters */
tmpl1->getSymk( iparm1, iparm2);
VERIFY(iparm1, F2_SYM_INTERN_K, "FileCreatPropList::getSymk");
VERIFY(iparm2, F2_SYM_LEAF_K, "FileCreatPropList::getSymk");
@@ -266,7 +268,8 @@ test_file_open(void)
VERIFY(parm1, F2_OFFSET_SIZE, "FileCreatPropList::getSizes");
VERIFY(parm2, F2_LENGTH_SIZE, "FileCreatPropList::getSizes");
- int iparm1, iparm2; /*file-creation parameters */
+ int iparm1; /*file-creation parameters */
+ unsigned iparm2; /*file-creation parameters */
tmpl1.getSymk( iparm1, iparm2);
VERIFY(iparm1, F2_SYM_INTERN_K, "FileCreatPropList::getSymk");
VERIFY(iparm2, F2_SYM_LEAF_K, "FileCreatPropList::getSymk");