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/extend.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/extend.c')
-rw-r--r-- | test/extend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/extend.c b/test/extend.c index ae9fee0..e344370 100644 --- a/test/extend.c +++ b/test/extend.c @@ -119,7 +119,7 @@ main (void) for (k=0; k<NX/2; k++) { for (m=0; m<NY/2; m++) { if (buf2[k][m]!=buf1[(i%2)*NX/2+k][(j%2)*NY/2+m]) { - FAILED(); + H5_FAILED(); printf(" i=%d, j=%d, k=%d, m=%d\n", i, j, k, m); goto error; } |