[pypy-commit] cffi default: In this test, the sign of the char is not really playing a role,
arigo
noreply at buildbot.pypy.org
Wed Jul 4 06:03:35 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
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;
More information about the pypy-commit
mailing list