Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-07-04 21:31:49 +00:00
parent e2530f9bc8
commit 2ed1c70692
30 changed files with 313 additions and 246 deletions

View file

@ -695,12 +695,12 @@ static GSComboWindow *gsWindow = nil;
{
if (_cell != nil)
{
NSText *textObject = nil;
NSControl *cv = [_cell controlView];
NSText *textObject = nil;
id cv = [_cell controlView];
if ([cv isKindOfClass: [NSControl class]])
{
textObject = [(NSControl *)cv currentEditor];
textObject = [(NSControl *)cv currentEditor];
}
[_cell setStringValue: [_cell _stringValueAtIndex: