Commits

Armin Rigo  committed 2451ece

Attempted fix

  • Participants
  • Parent commits 985f832
  • Branches win64

Comments (0)

Files changed (1)

File c/libffi_msvc/ffi.c

 
       /* because we're little endian, this is what it turns into.   */
 
+#ifdef _WIN64
+      if (z > 8)
+          *p_argv = *((void**) argp);   /* indirect */
+      else
+#endif
       *p_argv = (void*) argp;
 
       p_argv++;