Author: Armin Rigo <[email protected]>
Branch:
Changeset: r2997:5052e1026bbd
Date: 2017-07-31 11:28 +0200
http://bitbucket.org/cffi/cffi/changeset/5052e1026bbd/
Log: Minor fix
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -4737,9 +4737,9 @@
/* update the total alignment requirement, but skip it if the
field is an anonymous bitfield or if SF_PACKED */
falignorg = get_alignment(ftype);
+ if (falignorg < 0)
+ goto error;
falign = (sflags & SF_PACKED) ? 1 : falignorg;
- if (falign < 0)
- goto error;
do_align = 1;
if (!(sflags & SF_GCC_ARM_BITFIELDS) && fbitsize >= 0) {
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit