diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-31 00:13:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-31 00:13:27 (GMT) |
commit | bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d (patch) | |
tree | b72d46ee0babd2aabd0a34387162b8a0d6c8e09d /test/dtypes.c | |
parent | 3f69573f575390295536c0faa6d083c58a7291fa (diff) | |
download | hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.zip hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.tar.gz hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.tar.bz2 |
[svn-r12833] Description:
Clean up more warnings...
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'test/dtypes.c')
-rw-r--r-- | test/dtypes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index c9e7143..a7be6e6 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -491,7 +491,6 @@ error: static int test_compound_1(void) { - complex_t tmp; hid_t complex_id; hid_t super; size_t size; @@ -507,7 +506,7 @@ test_compound_1(void) TESTING("compound data types"); /* Create the empty type */ - if ((complex_id = H5Tcreate(H5T_COMPOUND, sizeof tmp))<0) goto error; + if ((complex_id = H5Tcreate(H5T_COMPOUND, sizeof(complex_t)))<0) goto error; /* Attempt to add the new compound datatype as a field within itself */ H5E_BEGIN_TRY { |