Commits

Armin Rigo committed a0bbd36

Fix

Comments (0)

Files changed (1)

c/libffi_msvc/ffi.c

      result types except for floats; we have to 'mov xmm0, rax' in the
      caller to correct this.
   */
+  if ( cif->flags == FFI_TYPE_STRUCT ) {
+      resp = *(void **)resp;
+  }
   return *(void **)resp;
 #endif
 }