summaryrefslogtreecommitdiffstats
path: root/src/H5L.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5L.c')
-rw-r--r--src/H5L.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 49ef879..d9f8e0d 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -1354,7 +1354,7 @@ H5L_register(const H5L_class_t *cls)
/* Filter not already registered */
if(i >= H5L_table_used_g) {
if(H5L_table_used_g >= H5L_table_alloc_g) {
- size_t n = MAX(H5L_MIN_TABLE_SIZE, 2 * H5L_table_alloc_g);
+ size_t n = MAX(H5L_MIN_TABLE_SIZE, (2 * H5L_table_alloc_g));
H5L_class_t *table = (H5L_class_t *)H5MM_realloc(H5L_table_g, (n * sizeof(H5L_class_t)));
if(!table)
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "unable to extend link type table")