diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-25 17:03:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-25 17:03:29 (GMT) |
commit | a319837a4fd95c29e6754593264c1429deaa506b (patch) | |
tree | 930ac1ddbc4381c1ce5ef33f00c96f9073ff3e9a /test/flush2.c | |
parent | 51bd03c8a5e3c1ffbf46edb9feee1f8776e4e462 (diff) | |
download | hdf5-a319837a4fd95c29e6754593264c1429deaa506b.zip hdf5-a319837a4fd95c29e6754593264c1429deaa506b.tar.gz hdf5-a319837a4fd95c29e6754593264c1429deaa506b.tar.bz2 |
[svn-r3326] Purpose:
Clean up warnings
Description:
The "FAILED" macro is defined by Windows and is causing warnings and
potential errors when compiled on that platform.
Solution:
Change our macro from FAILED to H5_FAILED.
Platforms tested:
FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'test/flush2.c')
-rw-r--r-- | test/flush2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/flush2.c b/test/flush2.c index ffdae59..8e7fb24 100644 --- a/test/flush2.c +++ b/test/flush2.c @@ -69,7 +69,7 @@ main(void) */ error = fabs(the_data[i][j]-(double)(hssize_t)i/((hssize_t)j+1)); if (error>0.0001) { - FAILED(); + H5_FAILED(); printf(" dset[%lu][%lu] = %g\n", (unsigned long)i, (unsigned long)j, the_data[i][j]); printf(" should be %g\n", |