Skip to content

Commit

Permalink
Fix Xcode 15.3 build error on Intel Macs
Browse files Browse the repository at this point in the history
Fix #536
  • Loading branch information
paulb777 committed Jan 27, 2024
1 parent 4e8ba16 commit 6101b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OCMock/NSObject+OCMAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ + (IMP)instanceMethodForwarderForSelector:(SEL)aSelector
}

if(needsStructureReturn)
return _objc_msgForward_stret;
return (SEL)_objc_msgForward_stret;
#endif

return _objc_msgForward;
Expand Down

0 comments on commit 6101b83

Please sign in to comment.