summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-04-23 22:24:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-04-23 22:24:52 (GMT)
commit5d3d452005302479a6ae034db2b384be26c8a542 (patch)
treeb9fe1bc8f1cd865d4ebbf3e76b8fdc2eb91bd142 /test/dtypes.c
parentca0a7c164e2e492d5c48d066bacf83a92e675c2e (diff)
downloadhdf5-5d3d452005302479a6ae034db2b384be26c8a542.zip
hdf5-5d3d452005302479a6ae034db2b384be26c8a542.tar.gz
hdf5-5d3d452005302479a6ae034db2b384be26c8a542.tar.bz2
[svn-r362] Added Attribute (H5A) test
Diffstat (limited to 'test/dtypes.c')
-rw-r--r--test/dtypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index f8d3d0a..445e51f 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -170,7 +170,7 @@ test_compound(void)
goto error;
}
/* Add a couple fields */
- status = H5Tinsert(complex_id, "real", HOFFSET(tmp, re),
+ status = H5Tinsert(complex_id, "real", HOFFSET(complex_t, re),
H5T_NATIVE_DOUBLE);
if (status < 0) {
puts("*FAILED*");
@@ -180,7 +180,7 @@ test_compound(void)
}
goto error;
}
- status = H5Tinsert(complex_id, "imaginary", HOFFSET(tmp, im),
+ status = H5Tinsert(complex_id, "imaginary", HOFFSET(complex_t, im),
H5T_NATIVE_DOUBLE);
if (status < 0) {
puts("*FAILED*");