mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 20:19:07 +00:00
Cast -1 to Elf_Half explicitly to suppress Visual Studio warning
This commit is contained in:
parent
6a2e8c78b0
commit
e4abc190d6
@ -149,7 +149,7 @@ class segment_impl : public segment
|
||||
return sections[num];
|
||||
}
|
||||
|
||||
return -1;
|
||||
return Elf_Half(-1);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user