Skip to content

Commit

Permalink
Merge pull request #537 from paulb777/patch-2
Browse files Browse the repository at this point in the history
Fix Xcode 15.3 build error on Intel Macs
  • Loading branch information
erikdoe authored Apr 23, 2024
2 parents 4e8ba16 + 173955e commit 2b8ec5e
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 (IMP)_objc_msgForward_stret;
#endif

return _objc_msgForward;
Expand Down

0 comments on commit 2b8ec5e

Please sign in to comment.