Add type casts to keep compiler happy.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27481 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2008-12-31 16:49:46 +00:00
parent ae4c7503ac
commit 326aaadef2
5 changed files with 31 additions and 19 deletions

View file

@ -5313,7 +5313,8 @@ configuation! */
NSTextView *tv = [self _bestTextViewForUndo];
if ([tv shouldChangeTextInRange: undoRange
replacementString: undoString ? [undoString string] : @""])
replacementString: undoString ? (NSString*)[undoString string] :
(NSString*)@""])
{
[tv replaceCharactersInRange: undoRange
withAttributedString: undoString];