mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
remove magic constant
This commit is contained in:
parent
f88dc0308b
commit
51f8bf496f
1 changed files with 2 additions and 2 deletions
|
@ -84,10 +84,10 @@ pub(crate) fn preprocess_windows(
|
|||
}
|
||||
};
|
||||
|
||||
// -2 because we added 2 sections, -1 because we have a count and want an index
|
||||
// -1 because we have a count and want an index
|
||||
let last_host_section = dynhost_obj
|
||||
.sections()
|
||||
.nth(dynhost_obj.sections().count() - 2 - 1)
|
||||
.nth(dynhost_obj.sections().count() - new_sections.len() - 1)
|
||||
.unwrap();
|
||||
|
||||
let dynamic_relocations = DynamicRelocationsPe::new(dynhost_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue