diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-04 00:38:30 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-04 00:38:30 +0000 |
commit | 994756398decf77738afb3c599d4cb9238c77cee (patch) | |
tree | 6fef724448931d438e553d98096a8f20cbf6751b /Source/SPChooseMenuItemDialog.m | |
parent | 6f983024a66ddb594eac5e4e808a8c3c51f6b6ff (diff) | |
download | sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.gz sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.bz2 sequelpro-994756398decf77738afb3c599d4cb9238c77cee.zip |
- Fix more compiler warnings
Diffstat (limited to 'Source/SPChooseMenuItemDialog.m')
-rw-r--r-- | Source/SPChooseMenuItemDialog.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPChooseMenuItemDialog.m b/Source/SPChooseMenuItemDialog.m index 8be639e3..d57abe94 100644 --- a/Source/SPChooseMenuItemDialog.m +++ b/Source/SPChooseMenuItemDialog.m @@ -37,7 +37,7 @@ } - (id)init; { - if(self = [super initWithFrame:NSMakeRect(1,1,2,2)]) + if((self = [super initWithFrame:NSMakeRect(1,1,2,2)])) { ; } @@ -65,8 +65,8 @@ - (id)init; { - if(self = [super initWithContentRect:NSMakeRect(1,1,2,2) - styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]) + if((self = [super initWithContentRect:NSMakeRect(1,1,2,2) + styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO])) { waitForChoice = YES; selectedItemIndex = -1; @@ -86,7 +86,7 @@ [self setLevel:NSNormalWindowLevel]; [self setHidesOnDeactivate:YES]; [self setHasShadow:YES]; - [self setAlphaValue:0.0]; + [self setAlphaValue:0.0f]; dummyTextView = [[SPChooseMenuItemDialogTextView alloc] init]; [dummyTextView setDelegate:self]; @@ -138,7 +138,7 @@ context:[NSGraphicsContext currentContext] eventNumber:0 clickCount:1 - pressure:0.0]; + pressure:0.0f]; [[NSApplication sharedApplication] sendEvent:theEvent]; |