Author: Armin Rigo <ar...@tunes.org>
Branch: win64
Changeset: r1305:2451ececc8cd
Date: 2013-08-01 11:57 +0200
http://bitbucket.org/cffi/cffi/changeset/2451ececc8cd/

Log:    Attempted fix

diff --git a/c/libffi_msvc/ffi.c b/c/libffi_msvc/ffi.c
--- a/c/libffi_msvc/ffi.c
+++ b/c/libffi_msvc/ffi.c
@@ -377,6 +377,11 @@
 
       /* 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++;
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to