diff options
author | Yotam Barnoy | 2009-10-15 20:01:24 +0000 |
---|---|---|
committer | Yotam Barnoy | 2009-10-15 20:01:24 +0000 |
commit | 78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef (patch) | |
tree | 02149383af569d026d4f7b2af4c57e3591431299 | |
parent | 59649759b83b61f1f34e8be3303aa417135c56d3 (diff) | |
download | scummvm-rg350-78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef.tar.gz scummvm-rg350-78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef.tar.bz2 scummvm-rg350-78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef.zip |
PSP plugin: fixed small warning that could cause problems
svn-id: r45130
-rw-r--r-- | backends/platform/psp/psploader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/psp/psploader.h b/backends/platform/psp/psploader.h index cd65dc38bd..70022d65de 100644 --- a/backends/platform/psp/psploader.h +++ b/backends/platform/psp/psploader.h @@ -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); } }; |