ffi/com: fix an internal cast

Merge to v5.3
(cherry picked from commit c86ee5b6e2)
This commit is contained in:
Matthew Flatt 2012-07-19 18:59:38 -06:00 committed by Ryan Culpepper
parent 61e890ba15
commit f04778f4d5

View File

@ -1779,7 +1779,7 @@
(define method-result (define method-result
(if (= inv-kind INVOKE_PROPERTYPUT) (if (= inv-kind INVOKE_PROPERTYPUT)
#f #f
(cast (malloc 'atomic _VARIANT) _pointer _VARIANT-pointer))) (cast (malloc 'atomic _VARIANT) _pointer (_gcable _VARIANT-pointer))))
(when method-result (when method-result
(VariantInit method-result)) (VariantInit method-result))
(define-values (hr exn-info error-index) (define-values (hr exn-info error-index)