mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-18 07:11:03 +00:00
btr-reader: Fix wording typo
* src/abg-btf-reader.cc (reader::build_array_type): It's lower_bound, not lower_boud. Duh. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
3ef420673b
commit
88a6e27348
@ -789,13 +789,13 @@ public:
|
||||
if (!underlying_type)
|
||||
return type_or_decl_base_sptr();
|
||||
|
||||
uint64_t lower_boud = 0;
|
||||
uint64_t lower_bound = 0;
|
||||
// Note that arr->nelems can be 0;
|
||||
uint64_t upper_bound = arr->nelems ? arr->nelems - 1: 0;
|
||||
|
||||
array_type_def::subrange_sptr subrange(new array_type_def::subrange_type
|
||||
(env(), /*name=*/"",
|
||||
lower_boud, upper_bound,
|
||||
lower_bound, upper_bound,
|
||||
location()));
|
||||
add_decl_to_scope(subrange, cur_tu()->get_global_scope());
|
||||
canonicalize(subrange);
|
||||
|
Loading…
Reference in New Issue
Block a user