File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -899,8 +899,8 @@ extern "C" void *swift_unknownWeakLoadStrong(WeakReference *ref);
899
899
900
900
#else
901
901
902
- static inline void swift_unknownWeakLoadStrong (WeakReference *ref) {
903
- swift_weakLoadStrong (ref);
902
+ static inline void * swift_unknownWeakLoadStrong (WeakReference *ref) {
903
+ return static_cast < void *>( swift_weakLoadStrong (ref) );
904
904
}
905
905
906
906
#endif /* SWIFT_OBJC_INTEROP */
@@ -918,8 +918,8 @@ extern "C" void *swift_unknownWeakTakeStrong(WeakReference *ref);
918
918
919
919
#else
920
920
921
- static inline void swift_unknownWeakTakeStrong (WeakReference *ref) {
922
- swift_weakTakeStrong (ref);
921
+ static inline void * swift_unknownWeakTakeStrong (WeakReference *ref) {
922
+ return static_cast < void *>( swift_weakTakeStrong (ref) );
923
923
}
924
924
925
925
#endif /* SWIFT_OBJC_INTEROP */
You can’t perform that action at this time.
0 commit comments