mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-27 12:17:28 +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