Skip to content

Commit 2b8ec5e

Browse files
authored
Merge pull request #537 from paulb777/patch-2
Fix Xcode 15.3 build error on Intel Macs
2 parents 4e8ba16 + 173955e commit 2b8ec5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/OCMock/NSObject+OCMAdditions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ + (IMP)instanceMethodForwarderForSelector:(SEL)aSelector
4646
}
4747

4848
if(needsStructureReturn)
49-
return _objc_msgForward_stret;
49+
return (IMP)_objc_msgForward_stret;
5050
#endif
5151

5252
return _objc_msgForward;

0 commit comments

Comments
 (0)