Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r57802:0ee8b99d39c5
Date: 2012-10-06 11:47 +0200
http://bitbucket.org/pypy/pypy/changeset/0ee8b99d39c5/

Log:    Another case of avoiding long longs.

diff --git a/pypy/module/_cffi_backend/ctypeenum.py 
b/pypy/module/_cffi_backend/ctypeenum.py
--- a/pypy/module/_cffi_backend/ctypeenum.py
+++ b/pypy/module/_cffi_backend/ctypeenum.py
@@ -45,7 +45,7 @@
         return w_result
 
     def convert_to_object(self, cdata):
-        value = intmask(misc.read_raw_signed_data(cdata, self.size))
+        value = misc.read_raw_long_data(cdata, self.size)
         try:
             enumerator = self.enumvalues2erators[value]
         except KeyError:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to