mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 06:42:38 +01:00
readrpl: Return -1 instead of false in main()
* This suppresses a compiler warning emitted by clang, about returning a boolean value when an integer is expected.
This commit is contained in:
parent
23d6f0f5cb
commit
76a8b8e292
@ -700,7 +700,7 @@ int main(int argc, char **argv)
|
||||
|
||||
if (header.magic != elf::HeaderMagic) {
|
||||
std::cout << "Invalid ELF magic header" << std::endl;
|
||||
return false;
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Read sections
|
||||
|
Loading…
Reference in New Issue
Block a user