Author: Armin Rigo <[email protected]>
Branch:
Changeset: r547:feeae08768a9
Date: 2012-06-28 00:23 +0200
http://bitbucket.org/cffi/cffi/changeset/feeae08768a9/
Log: 'size' is already an int so far in this particular case, but better
safe than sorry
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -2270,7 +2270,7 @@
bad_ffi_type:
PyErr_Format(PyExc_NotImplementedError,
"primitive type '%s' with a non-standard size %d",
- name, ptypes->size);
+ name, (int)ptypes->size);
return NULL;
}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit