summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-04-30 19:57:18 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-04-30 19:57:18 (GMT)
commit9e9c406effc1e3c156a311493b165bcc9a2ac38e (patch)
treecd9ed1c0a4f94a7ff6154b575d19339dce5fc995 /src
parentdc8e89d465711256c7022df017a354a2c4fa61e9 (diff)
downloadhdf5-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
Diffstat (limited to 'src')
-rw-r--r--src/H5B.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 1531ded..a8b8eeb 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -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);