summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-20 20:37:35 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-20 20:37:35 (GMT)
commitc5ab2285639a801f87a77987db1a0b609a020314 (patch)
tree04d3f429cdfc7687f66716e70d98ae86aeb5f4c8 /src
parent97fb53cfea340192ded46da9d1af84ad040fbbdc (diff)
parent158ba17be0ad40e3e47a951c1340710608347772 (diff)
downloadhdf5-c5ab2285639a801f87a77987db1a0b609a020314.zip
hdf5-c5ab2285639a801f87a77987db1a0b609a020314.tar.gz
hdf5-c5ab2285639a801f87a77987db1a0b609a020314.tar.bz2
Merge pull request #2384 in HDFFV/hdf5 from h5f_decode_length to develop
* commit '158ba17be0ad40e3e47a951c1340710608347772': Replace the old H5F_DECODE_LENGTH() implementation with one that initializes the variable it's loading on every path.
Diffstat (limited to 'src')
-rw-r--r--src/H5Fprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index f0c28ca..fbb164d 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -432,7 +432,7 @@ typedef struct H5F_t H5F_t;
default: HDassert("bad sizeof size" && 0); \
}
-#define H5F_DECODE_LENGTH(f,p,l) H5F_DECODE_LENGTH_LEN(p,l,H5F_SIZEOF_SIZE(f))
+#define H5F_DECODE_LENGTH(f,p,l) DECODE_VAR(p,l,H5F_SIZEOF_SIZE(f))
/*
* Macros that check for overflows. These are somewhat dangerous to fiddle