mirror of
https://github.com/serge1/ELFIO.git
synced 2025-03-18 16:21:11 +00:00
fixed a few warnings (signed-unsigned comparisions, unused param)
This commit is contained in:
parent
22bd7ba77d
commit
8dda93f2bb
@ -604,7 +604,7 @@ class dump
|
||||
<< " Name"
|
||||
<< std::endl;
|
||||
}
|
||||
for ( int i = 0; i < sym_no; ++i ) {
|
||||
for ( Elf_Xword i = 0; i < sym_no; ++i ) {
|
||||
std::string name;
|
||||
Elf64_Addr value;
|
||||
Elf_Xword size;
|
||||
@ -727,7 +727,7 @@ class dump
|
||||
if ( dyn_no > 0 ) {
|
||||
out << "Dynamic section (" << sec->get_name() << ")" << std::endl;
|
||||
out << "[ Nr ] Tag Name/Value" << std::endl;
|
||||
for ( int i = 0; i < dyn_no; ++i ) {
|
||||
for ( Elf_Xword i = 0; i < dyn_no; ++i ) {
|
||||
Elf_Xword tag;
|
||||
Elf_Xword value;
|
||||
std::string str;
|
||||
@ -751,7 +751,7 @@ class dump
|
||||
Elf_Xword tag,
|
||||
Elf_Xword value,
|
||||
std::string str,
|
||||
unsigned int elf_class )
|
||||
unsigned int /*elf_class*/ )
|
||||
{
|
||||
out << "["
|
||||
<< DUMP_DEC_FORMAT( 5 ) << no
|
||||
|
Loading…
x
Reference in New Issue
Block a user