Removed new GCC 3.4 warnings from Alexander Malmbergs list.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2003-09-01 18:17:52 +00:00
parent 7aeee17b47
commit aea2927168
10 changed files with 37 additions and 12 deletions

View file

@ -224,7 +224,7 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName)
return nil; // raise exception?
}
return [[_types objectAtIndex:0] objectForKey:NSNameKey];
return [(NSDictionary*)[_types objectAtIndex:0] objectForKey:NSNameKey];
}
- (void) addDocument: (NSDocument *)document