Skip to content

Commit 9ffec11

Browse files
committed
debuginfo: fix size() usage type in paths insert
1 parent 8cf1724 commit 9ffec11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/qt/debugger/debuginfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ std::vector<std::uint32_t> Line::__parse(std::uint8_t address_size, const _Die &
15491549
dir = directories[file._M_directory_index]._M_path;
15501550
}
15511551
auto inserted = _M_paths.insert({ { unit_entry.attr(_At::DW_AT_comp_dir).str(),
1552-
dir, file._M_path }, size() });
1552+
dir, file._M_path }, static_cast<std::uint32_t>(size()) });
15531553
if (inserted.second) {
15541554
_M_files.emplace_back(inserted.first->first, file._M_MD5.data());
15551555
}

0 commit comments

Comments
 (0)