diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-30 19:57:18 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-30 19:57:18 (GMT) |
commit | 9e9c406effc1e3c156a311493b165bcc9a2ac38e (patch) | |
tree | cd9ed1c0a4f94a7ff6154b575d19339dce5fc995 | |
parent | dc8e89d465711256c7022df017a354a2c4fa61e9 (diff) | |
download | hdf5-9e9c406effc1e3c156a311493b165bcc9a2ac38e.zip hdf5-9e9c406effc1e3c156a311493b165bcc9a2ac38e.tar.gz hdf5-9e9c406effc1e3c156a311493b165bcc9a2ac38e.tar.bz2 |
[svn-r3875] Purpose:
Bug Fix
Description:
The --enable-static-exec flag was failing on Linux systems. The
reason: a "long long" type was growing by some obscene amount if you
just add 1 to it (tis truth!). In one statement, it prints out the
correct value. Add one to it and print it out in the next statement
and it gives you a very large number. This would, in turn, cause the
resulting memcpy to fail...
Solution:
Changed the variable from "hsize_t" to "intn" which is what the field
it's getting is typed anyway.
Platforms tested:
Linux
-rw-r--r-- | src/H5B.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2054,7 +2054,7 @@ H5B_copy(H5F_t *f, const H5B_t *old_bt) H5B_t *ret_value = NULL; hsize_t total_native_keysize; hsize_t size; - hsize_t nkeys; + intn nkeys; uintn u; FUNC_ENTER(H5B_copy, NULL); |