diff --git a/src/entry/Maat_api.cpp b/src/entry/Maat_api.cpp index 639266e..29cfa97 100644 --- a/src/entry/Maat_api.cpp +++ b/src/entry/Maat_api.cpp @@ -273,7 +273,7 @@ int region_compile(_Maat_feather_t*feather, struct Maat_hierarchy_compile_mid* c alignment_int64_array_add(feather->not_grp_hit_cnt, thread_num, 1); } - return scan_ret; + return MIN(scan_ret, size); }