From 082e6a77d5f00e1fd1ec8bdf256687116fe14fc3 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 30 Apr 2001 14:57:43 -0500 Subject: [svn-r3876] 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 --- src/H5B.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5B.c b/src/H5B.c index 1bc3f94..db17598 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); -- cgit v0.12