diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2005-07-14 21:04:33 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2005-07-14 21:04:33 (GMT) |
commit | ba970a4ac70eed8643dd0bc567513176450c18e3 (patch) | |
tree | c2a7cc7442c1b13c95b5117e74cbc6e9a1be320b /src/H5detect.c | |
parent | 4937b35e01980eb34efa15403b77eba7ae8e9e14 (diff) | |
download | hdf5-ba970a4ac70eed8643dd0bc567513176450c18e3.zip hdf5-ba970a4ac70eed8643dd0bc567513176450c18e3.tar.gz hdf5-ba970a4ac70eed8643dd0bc567513176450c18e3.tar.bz2 |
[svn-r11073] Purpose: Small bug fix
Description: On VMS assertion failed due to a typo ("/" instead of "%")
Solution: Fixed a typo
Platforms tested: VMS (code is not exercised on other platforms)
Misc. update:
Diffstat (limited to 'src/H5detect.c')
-rw-r--r-- | src/H5detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index c28d264..e4b093a 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -845,7 +845,7 @@ fix_order(int n, int first, int last, int *perm, const char **mesg) /* * Bi-endian machines like VAX. */ - assert(0 == n / 2); + assert(0 == n % 2); if (mesg) *mesg = "VAX"; for (i = 0; i < n; i += 2) { perm[i] = (n - 2) - i; |