File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ exprt expr_initializert<nondet>::expr_initializer_rec(
178
178
array_size >= 0 , " array should not have negative size" );
179
179
180
180
array_exprt value (array_type);
181
- value.operands ().resize (integer2unsigned (array_size), tmpval);
181
+ value.operands ().resize (integer2size_t (array_size), tmpval);
182
182
value.add_source_location ()=source_location;
183
183
return value;
184
184
}
@@ -210,7 +210,7 @@ exprt expr_initializert<nondet>::expr_initializer_rec(
210
210
vector_size >= 0 , " vector should not have negative size" );
211
211
212
212
vector_exprt value (vector_type);
213
- value.operands ().resize (integer2unsigned (vector_size), tmpval);
213
+ value.operands ().resize (integer2size_t (vector_size), tmpval);
214
214
value.add_source_location ()=source_location;
215
215
216
216
return value;
You can’t perform that action at this time.
0 commit comments