diff --git a/injector/source/patcher.c b/injector/source/patcher.c index 3ebab28..a8c901b 100644 --- a/injector/source/patcher.c +++ b/injector/source/patcher.c @@ -9,7 +9,7 @@ static CFWInfo info; -static u32 patchMemory(u8 *start, u32 size, const void *pattern, u32 patSize, int offset, const void *replace, u32 repSize, u32 count) +static u32 patchMemory(u8 *start, u32 size, const void *pattern, u32 patSize, s32 offset, const void *replace, u32 repSize, u32 count) { u32 i;