iOS: fix 'incompatible pointer type' compiler warning

Change-Id: I01bb7516a3600dd1dbd71dd6989f541494840abc
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
bb10
Richard Moe Gustavsen 2016-11-04 11:07:54 +01:00
parent 2f5b7157f5
commit a07e77a99a
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@
- (id<UITextInputTokenizer>)tokenizer
{
return [[[UITextInputStringTokenizer alloc] initWithTextInput:id<UITextInput>(self)] autorelease];
return [[[UITextInputStringTokenizer alloc] initWithTextInput:self] autorelease];
}
- (UITextPosition *)beginningOfDocument