From 78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef Mon Sep 17 00:00:00 2001 From: Yotam Barnoy <yotambarnoy@gmail.com> Date: Thu, 15 Oct 2009 20:01:24 +0000 Subject: [PATCH] PSP plugin: fixed small warning that could cause problems svn-id: r45130 --- backends/platform/psp/psploader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/platform/psp/psploader.h b/backends/platform/psp/psploader.h index cd65dc38bdf..70022d65dea 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); } };