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:
CreeperMario 2017-10-10 09:12:54 +10:30
parent 23d6f0f5cb
commit 76a8b8e292

View File

@ -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