Permalink
Browse files

Fix incompatibilities with Snow Leopard SDK (thanks duff).

git-svn-id: http://svn.textmate.org/trunk/Tools/Dialog@11774 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent bc8b94d commit e41d2e03df87729c67af8b93e06c9a3e271d9809 @lasersox lasersox committed Oct 7, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 CLIProxy.mm
  2. +1 −1 OptionParser.mm
View
@@ -15,7 +15,7 @@ - (NSArray*)arguments;
@implementation CLIProxy
+ (id)proxyWithOptions:(NSDictionary*)options;
{
- return [[[[self class] alloc] initWithOptions:options] autorelease];
+ return [[(CLIProxy*)[[self class] alloc] initWithOptions:options] autorelease];
}
- (id)initWithOptions:(NSDictionary*)options
View
@@ -24,7 +24,7 @@
enum type_t { option, value, literal, end } type;
string word;
- token_t (type_t type = end, NSString* word) : type(type), word([word UTF8String]) { }
+ token_t (type_t type, NSString* word) : type(type), word([word UTF8String]) { }
token_t (type_t type = end, string word = "") : type(type), word(word) { }
};

0 comments on commit e41d2e0

Please sign in to comment.