summaryrefslogtreecommitdiff
path: root/MLKCompiledClosure.m
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-12 15:03:14 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-12 15:03:14 +0200
commitd9a4288c6b7acfbcb7e819841a291f3063daa00c (patch)
treefdd4d1af1467cf5b11fa5e2166b7fbc67c740ed8 /MLKCompiledClosure.m
parentc8b6f78bebeb130e99dd3003bbbb7ad922ffd7ba (diff)
MLKCompiledClosure: Use intptr_t arguments in order to make compilation easier.
Diffstat (limited to 'MLKCompiledClosure.m')
-rw-r--r--MLKCompiledClosure.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/MLKCompiledClosure.m b/MLKCompiledClosure.m
index b70fa03..5dbf6dd 100644
--- a/MLKCompiledClosure.m
+++ b/MLKCompiledClosure.m
@@ -32,7 +32,7 @@
@implementation MLKCompiledClosure
-(id) initWithCode:(void *)code
data:(id *)data
- length:(int)dataLength
+ length:(intptr_t)dataLength
{
int i;
@@ -53,7 +53,7 @@
+(id) closureWithCode:(void *)code
data:(id *)data
- length:(int)dataLength
+ length:(intptr_t)dataLength
{
return LAUTORELEASE ([[self alloc] initWithCode:code data:data length:dataLength]);
}