Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r576:93942a4b2787
Date: 2012-07-04 05:52 +0200
http://bitbucket.org/cffi/cffi/changeset/93942a4b2787/

Log:    In this test, the sign of the char is not really playing a role, but
        fix it anyway.

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -3509,7 +3509,7 @@
     y = *x - 1000;
     return &y;
 }
-struct _testfunc7_s { char a1; short a2; };
+struct _testfunc7_s { unsigned char a1; short a2; };
 static short _testfunc7(struct _testfunc7_s inlined)
 {
     return inlined.a1 + inlined.a2;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to