Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1609:9163607c079e
Date: 2014-12-29 09:45 +0100
http://bitbucket.org/cffi/cffi/changeset/9163607c079e/
Log: no-op
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -3563,8 +3563,8 @@
sprintf(extra_text, "[]");
length = -1;
arraysize = -1;
- if ((ctptr->ct_flags & CT_CAST_ANYTHING) &&
- (ctitem->ct_flags & CT_PRIMITIVE_CHAR))
+ if ((ctitem->ct_flags & CT_PRIMITIVE_CHAR) &&
+ ctitem->ct_size == sizeof(char))
flags |= CT_IS_UNSIZED_CHAR_A;
}
else {
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit