Skip to content

Commit e41d2e0

Browse files
author
Alex Ross
committed
Fix incompatibilities with Snow Leopard SDK (thanks duff).
git-svn-id: http://svn.textmate.org/trunk/Tools/Dialog@11774 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
1 parent bc8b94d commit e41d2e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CLIProxy.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ - (NSArray*)arguments;
1515
@implementation CLIProxy
1616
+ (id)proxyWithOptions:(NSDictionary*)options;
1717
{
18-
return [[[[self class] alloc] initWithOptions:options] autorelease];
18+
return [[(CLIProxy*)[[self class] alloc] initWithOptions:options] autorelease];
1919
}
2020

2121
- (id)initWithOptions:(NSDictionary*)options

OptionParser.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
enum type_t { option, value, literal, end } type;
2525
string word;
2626

27-
token_t (type_t type = end, NSString* word) : type(type), word([word UTF8String]) { }
27+
token_t (type_t type, NSString* word) : type(type), word([word UTF8String]) { }
2828
token_t (type_t type = end, string word = "") : type(type), word(word) { }
2929
};
3030

0 commit comments

Comments
 (0)