Skip to content

Commit

Permalink
warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Apr 23, 2017
1 parent 1c96c47 commit 9253adb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ - (BLXcodePathType)pathType

- (void)setPathType:(BLXcodePathType)newType
{
if (!newType != self.pathType)
if (!(newType != self.pathType))
[_parser noteProjectWasChanged];

switch (newType) {
Expand Down
2 changes: 1 addition & 1 deletion LocInterface/Source/Framework/Preview/LIHighlightWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
*/
- (BOOL)highlightWindow:(LIHighlightWindow *)window receivedEvent:(NSEvent *)theEvent;

@end
@end
2 changes: 1 addition & 1 deletion Manager/Source/Controllers/Controller.m
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ - (IBAction)importLocalizerFiles:(id)sender

- (IBAction)importLocalizerFilesDirectly:(id)sender
{
[[[NSDocumentController sharedDocumentController] currentDocument] importLocalizerFilesDirectly: sender];
[(Controller*)[[NSDocumentController sharedDocumentController] currentDocument] importLocalizerFilesDirectly: sender];
}

- (IBAction)editLocalizerFiles:(id)sender
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ - (void)setMappedValue:(id)value forKey:(NSString *)key
break;
}

value = [NSNumber numberWithInt: type];
value = [NSNumber numberWithInt:(int)type];
}

if ([key isEqual: @"gButtonBehavior"])
Expand Down Expand Up @@ -280,7 +280,7 @@ @implementation NSMatrix (NPObjectPropertyExtensions)
- (void)setChildren:(NSArray *)childs
{
float height;
int rows, cols;
NSInteger rows, cols;

height = [self cellSize].height;
height += [self intercellSpacing].height;
Expand All @@ -295,7 +295,7 @@ - (void)setChildren:(NSArray *)childs
[self renewRows:rows columns:cols];

for (NSUInteger i=0; i<[childs count]-1; i++) {
int row, col;
NSInteger row, col;

row = i%rows;
col = i/rows;
Expand Down

0 comments on commit 9253adb

Please sign in to comment.