From 173955e93e6ee6999a10729ab67e4b4efdd1db6d Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Sat, 27 Jan 2024 11:40:24 -0800 Subject: [PATCH] Update NSObject+OCMAdditions.m --- Source/OCMock/NSObject+OCMAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OCMock/NSObject+OCMAdditions.m b/Source/OCMock/NSObject+OCMAdditions.m index 2d62bc61..f97ecbd3 100644 --- a/Source/OCMock/NSObject+OCMAdditions.m +++ b/Source/OCMock/NSObject+OCMAdditions.m @@ -46,7 +46,7 @@ + (IMP)instanceMethodForwarderForSelector:(SEL)aSelector } if(needsStructureReturn) - return (SEL)_objc_msgForward_stret; + return (IMP)_objc_msgForward_stret; #endif return _objc_msgForward;