Skip to content

Commit 6101b83

Browse files
authored
Fix Xcode 15.3 build error on Intel Macs
Fix #536
1 parent 4e8ba16 commit 6101b83

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 (SEL)_objc_msgForward_stret;
5050
#endif
5151

5252
return _objc_msgForward;

0 commit comments

Comments
 (0)