mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Fix many gcc 4.2 compiler warnings
This commit is contained in:
committed by
Pieter de Bie
parent
c6fbcccc02
commit
6dcefe5bec
@@ -23,9 +23,9 @@
|
||||
[self showDiff:diffController.diff];
|
||||
}
|
||||
|
||||
- (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(NSString *)context
|
||||
- (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
|
||||
{
|
||||
if ([context isEqualToString: @"ChangedDiff"])
|
||||
if ([(NSString *)context isEqualToString: @"ChangedDiff"])
|
||||
[self showDiff:diffController.diff];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user