diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index 3f73557..465d492 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -901,7 +901,7 @@ const float kSemiFloor = -1.0f*kLineH; NSResponder * hasResponder = [win firstResponder]; if ([self editTarget]) if (hasResponder != [win fieldEditor:NO forObject:nil] - || [hasResponder delegate] != fFieldEditor + || [(id)hasResponder delegate] != fFieldEditor ) [win makeFirstResponder:fFieldEditor]; }