summaryrefslogtreecommitdiff
path: root/Objective-C
diff options
context:
space:
mode:
Diffstat (limited to 'Objective-C')
-rw-r--r--Objective-C/libobjcl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index 6cc8dad..85fc492 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -746,7 +746,7 @@ objcl_create_imp (IMP callback,
}
TRACE (@"create-imp: Closure created.");
- return (IMP) closure;
+ return (IMP) code;
}