File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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(
415415
416416
417417 // Array symbol_exprt
418- std:: size_t array_size= integer2size_t ( string2integer (d[" size" ].value ) );
418+ mp_integer array_size = string2integer (d[" size" ].value );
419419 if (array_size > MAX_FLATTENED_ARRAY_SIZE)
420420 {
421421 warning () << " Object section '" << d[" section" ].value << " ' of size "
@@ -434,7 +434,7 @@ int linker_script_merget::ls_data2instructions(
434434 array_loc.set_file (linker_script);
435435 std::ostringstream array_comment;
436436 array_comment << " Object section '" << d[" section" ].value << " ' of size "
437- << integer2unsigned ( array_size) << " bytes" ;
437+ << array_size << " bytes" ;
438438 array_loc.set_comment (array_comment.str ());
439439 array_expr.add_source_location ()=array_loc;
440440
You can’t perform that action at this time.
0 commit comments