mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Fix some int/ptr comparisons.
This commit is contained in:
parent
b550ccfc73
commit
2fdefc4fb5
8 changed files with 18 additions and 18 deletions
|
@ -421,7 +421,7 @@ bool SELFDecrypter::MakeElf(const std::string& elf, bool isElf32)
|
|||
}
|
||||
|
||||
// Write section headers.
|
||||
if(self_hdr.se_shdroff != NULL)
|
||||
if(self_hdr.se_shdroff != 0)
|
||||
{
|
||||
e.Seek(elf32_hdr.e_shoff);
|
||||
|
||||
|
@ -482,7 +482,7 @@ bool SELFDecrypter::MakeElf(const std::string& elf, bool isElf32)
|
|||
}
|
||||
|
||||
// Write section headers.
|
||||
if(self_hdr.se_shdroff != NULL)
|
||||
if(self_hdr.se_shdroff != 0)
|
||||
{
|
||||
e.Seek(elf64_hdr.e_shoff);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue