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 @@ -290,11 +290,11 @@ ElfFile<ElfFileParamNames>::ElfFile(FileContents fContents)
290
290
/* Get the section header string table section (".shstrtab"). Its
291
291
index in the section header table is given by e_shstrndx field
292
292
of the ELF header. */
293
- unsigned int shstrtabIndex = rdi (hdr ()->e_shstrndx );
293
+ auto shstrtabIndex = rdi (hdr ()->e_shstrndx );
294
294
if (shstrtabIndex >= shdrs.size ())
295
295
error (" string table index out of bounds" );
296
296
297
- unsigned int shstrtabSize = rdi (shdrs[shstrtabIndex].sh_size );
297
+ auto shstrtabSize = rdi (shdrs[shstrtabIndex].sh_size );
298
298
char * shstrtab = (char * ) fileContents->data () + rdi (shdrs[shstrtabIndex].sh_offset );
299
299
checkPointer (fileContents, shstrtab, shstrtabSize);
300
300
You can’t perform that action at this time.
0 commit comments