We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeeb282 commit d66e8cbCopy full SHA for d66e8cb
src/elf_sections.rs
@@ -8,7 +8,7 @@ pub struct ElfSectionsTag {
8
pub fn elf_sections_tag(tag: &Tag) -> ElfSectionsTag {
9
assert_eq!(9, tag.typ);
10
let es = ElfSectionsTag {
11
- inner: unsafe { (tag as *const _).offset(1) } as *const _,
+ inner: unsafe { (tag as *const Tag).offset(1) } as *const ElfSectionsTagInner,
12
};
13
assert!((es.get().entry_size * es.get().shndx) <= tag.size);
14
es
0 commit comments