summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-15 15:14:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-15 15:14:28 (GMT)
commit9e1e3eadbe2644670371333b4602cd184a01703e (patch)
tree714c930886866d399633f8ea29d0723c2223f416
parentda974328a71effc2126102c65a595ed11e8dda28 (diff)
downloadhdf5-9e1e3eadbe2644670371333b4602cd184a01703e.zip
hdf5-9e1e3eadbe2644670371333b4602cd184a01703e.tar.gz
hdf5-9e1e3eadbe2644670371333b4602cd184a01703e.tar.bz2
[svn-r77] Fixed mis-sized parameter passed to H5Cgetparm for offsets and lengths. This
affected primarily big-endian architecture.
-rw-r--r--test/tfile.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 7fd1a3d..05b84fd 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -87,13 +87,13 @@ static void test_file_create(void)
CHECK(ret,FAIL,"H5Cgetparm");
VERIFY(parm,F1_USERBLOCK_SIZE,"H5Cgetparm");
- ret=H5Cgetparm(tmpl1,H5_OFFSET_SIZE,&parm);
+ ret=H5Cgetparm(tmpl1,H5_OFFSET_SIZE,&parm2);
CHECK(ret,FAIL,"H5Cgetparm");
- VERIFY(parm,F1_OFFSET_SIZE,"H5Cgetparm");
+ VERIFY(parm2,F1_OFFSET_SIZE,"H5Cgetparm");
- ret=H5Cgetparm(tmpl1,H5_LENGTH_SIZE,&parm);
+ ret=H5Cgetparm(tmpl1,H5_LENGTH_SIZE,&parm2);
CHECK(ret,FAIL,"H5Cgetparm");
- VERIFY(parm,F1_LENGTH_SIZE,"H5Cgetparm");
+ VERIFY(parm2,F1_LENGTH_SIZE,"H5Cgetparm");
ret=H5Cgetparm(tmpl1,H5_SYM_LEAF_K,&parm);
CHECK(ret,FAIL,"H5Cgetparm");
@@ -199,13 +199,13 @@ static void test_file_create(void)
CHECK(ret,FAIL,"H5Cgetparm");
VERIFY(parm,F3_USERBLOCK_SIZE,"H5Cgetparm");
- ret=H5Cgetparm(tmpl1,H5_OFFSET_SIZE,&parm);
+ ret=H5Cgetparm(tmpl1,H5_OFFSET_SIZE,&parm2);
CHECK(ret,FAIL,"H5Cgetparm");
- VERIFY(parm,F3_LENGTH_SIZE,"H5Cgetparm");
+ VERIFY(parm2,F3_LENGTH_SIZE,"H5Cgetparm");
- ret=H5Cgetparm(tmpl1,H5_LENGTH_SIZE,&parm);
+ ret=H5Cgetparm(tmpl1,H5_LENGTH_SIZE,&parm2);
CHECK(ret,FAIL,"H5Cgetparm");
- VERIFY(parm,F3_OFFSET_SIZE,"H5Cgetparm");
+ VERIFY(parm2,F3_OFFSET_SIZE,"H5Cgetparm");
ret=H5Cgetparm(tmpl1,H5_SYM_LEAF_K,&parm);
CHECK(ret,FAIL,"H5Cgetparm");