mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:50:38 +00:00
Fix all current compiler warnings on FreeBSD/x86-64.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36038 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14b195c4a0
commit
30eb57e642
41 changed files with 266 additions and 262 deletions
|
@ -1897,7 +1897,7 @@ void NSBeginInformationalAlertSheet(NSString *title,
|
|||
- (NSButton *) addButtonWithTitle: (NSString *)aTitle
|
||||
{
|
||||
NSButton *button = [[NSButton alloc] init];
|
||||
int count = [_buttons count];
|
||||
NSUInteger count = [_buttons count];
|
||||
|
||||
[button setTitle: aTitle];
|
||||
[button setAutoresizingMask: NSViewMinXMargin | NSViewMaxYMargin];
|
||||
|
@ -2172,8 +2172,8 @@ NSInteger GSRunExceptionPanel(
|
|||
[_userInfoPanel makeKeyAndOrderFront: self];
|
||||
}
|
||||
|
||||
- (int) browser: (id)browser
|
||||
numberOfRowsInColumn: (int)col
|
||||
- (NSInteger) browser: (id)browser
|
||||
numberOfRowsInColumn: (NSInteger)col
|
||||
{
|
||||
if (col == 0)
|
||||
return [[_userInfo allKeys] count];
|
||||
|
@ -2201,8 +2201,8 @@ numberOfRowsInColumn: (int)col
|
|||
|
||||
- (void) browser: (NSBrowser *)browser
|
||||
willDisplayCell: (NSBrowserCell *)cell
|
||||
atRow: (int)row
|
||||
column: (int)column
|
||||
atRow: (NSInteger)row
|
||||
column: (NSInteger)column
|
||||
{
|
||||
if (column == 0)
|
||||
{
|
||||
|
@ -2295,7 +2295,7 @@ numberOfRowsInColumn: (int)col
|
|||
}
|
||||
}
|
||||
|
||||
- (id) browser: (NSBrowser *)browser titleOfColumn: (int)column
|
||||
- (id) browser: (NSBrowser *)browser titleOfColumn: (NSInteger)column
|
||||
{
|
||||
id val;
|
||||
NSString *title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue