mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
[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
This commit is contained in:
parent
dc8e89d465
commit
9e9c406eff
@ -2054,7 +2054,7 @@ H5B_copy(H5F_t *f, const H5B_t *old_bt)
|
|||||||
H5B_t *ret_value = NULL;
|
H5B_t *ret_value = NULL;
|
||||||
hsize_t total_native_keysize;
|
hsize_t total_native_keysize;
|
||||||
hsize_t size;
|
hsize_t size;
|
||||||
hsize_t nkeys;
|
intn nkeys;
|
||||||
uintn u;
|
uintn u;
|
||||||
|
|
||||||
FUNC_ENTER(H5B_copy, NULL);
|
FUNC_ENTER(H5B_copy, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user