summaryrefslogtreecommitdiff
path: root/Lisp/type-conversion.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'Lisp/type-conversion.lisp')
-rw-r--r--Lisp/type-conversion.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lisp/type-conversion.lisp b/Lisp/type-conversion.lisp
index 1350f5c..df9b0e0 100644
--- a/Lisp/type-conversion.lisp
+++ b/Lisp/type-conversion.lisp
@@ -25,7 +25,7 @@
(typespec-primary-type typespec))
((id objective-c-class exception selector)
(let ((*skip-retaining* skip-retaining-p))
- (intern-pointer-wrapper (car typespec)
+ (intern-pointer-wrapper (car (typespec typespec))
:pointer (cffi:mem-ref foreign-value-cell
c-type))))
((:char :unsigned-char)
@@ -39,4 +39,4 @@
;; FOREIGN-VALUE-LISP-MANAGED-P to false.
(make-struct-wrapper foreign-value-cell typespec t))
((:void) (values))
- (otherwise (cffi:mem-ref foreign-value-cell c-type))))) \ No newline at end of file
+ (otherwise (cffi:mem-ref foreign-value-cell c-type)))))