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 @@ -415,7 +415,7 @@ int linker_script_merget::ls_data2instructions(
415
415
416
416
417
417
// Array symbol_exprt
418
- std:: size_t array_size= integer2size_t ( string2integer (d[" size" ].value ) );
418
+ mp_integer array_size = string2integer (d[" size" ].value );
419
419
if (array_size > MAX_FLATTENED_ARRAY_SIZE)
420
420
{
421
421
warning () << " Object section '" << d[" section" ].value << " ' of size "
@@ -434,7 +434,7 @@ int linker_script_merget::ls_data2instructions(
434
434
array_loc.set_file (linker_script);
435
435
std::ostringstream array_comment;
436
436
array_comment << " Object section '" << d[" section" ].value << " ' of size "
437
- << integer2unsigned ( array_size) << " bytes" ;
437
+ << array_size << " bytes" ;
438
438
array_loc.set_comment (array_comment.str ());
439
439
array_expr.add_source_location ()=array_loc;
440
440
You can’t perform that action at this time.
0 commit comments