Skip to content

Commit f20b60b

Browse files
author
Owen Jones
committed
Replace unsigned with appropriate type
Replace unsigned with object_numberingt::number_type, which actually resolves to size_t rather than unsigned. This matches cbmc#1541.
1 parent 95eed54 commit f20b60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pointer-analysis/local_value_set.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ void local_value_sett::assign(
336336
// initialiser from an external set that has been read from somewhere
337337
// and then written.
338338

339-
std::vector<std::pair<unsigned, exprt>> replacements;
339+
std::vector<std::pair<object_numberingt::number_type, exprt>> replacements;
340340
for(const auto &obj : values_rhs.read())
341341
{
342342
const exprt &objexpr=object_numbering[obj.first];

0 commit comments

Comments
 (0)