mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:50:47 +00:00
(initWithContentRect:...screen:, readPrintInfo)
Removed compiler warning about signed/unsigned comparision. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16988 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2faef584e7
commit
5eff62acc5
1 changed files with 5 additions and 3 deletions
|
@ -117,7 +117,7 @@ static NSPageLayout *shared_instance;
|
|||
defer: (BOOL)flag
|
||||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
id control;
|
||||
NSForm *sizeForm;
|
||||
NSArray *subviews, *list;
|
||||
|
@ -425,7 +425,8 @@ static NSPageLayout *shared_instance;
|
|||
list = [printer stringListForKey:@"PageSize" inTable: @"PPD"];
|
||||
if ([list count])
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < [list count]; i++)
|
||||
{
|
||||
NSString *key = [list objectAtIndex: i];
|
||||
|
@ -445,8 +446,9 @@ static NSPageLayout *shared_instance;
|
|||
control = [[self contentView] viewWithTag: NSPLUnitsButton];
|
||||
if ([control numberOfItems] < 2)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
NSArray *list = [self _units];
|
||||
|
||||
[control removeAllItems];
|
||||
for (i = 0; i < [list count]; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue