PSP plugin: fixed small warning that could cause problems

svn-id: r45130
This commit is contained in:
Yotam Barnoy 2009-10-15 20:01:24 +00:00
parent 59649759b8
commit 78c905ebbe

View File

@ -66,7 +66,7 @@ public:
return (Elf32_Addr)(_startAddress - _origAddress);
}
bool inSegment(char *addr) {
return ((char *)addr >= _startAddress && (char *)addr < _startAddress + _size);
return ((char *)addr >= _startAddress && (char *)addr <= _startAddress + _size);
}
};