Commits

Antonio Cuni  committed 636ac5d

make the official integral type for pointers unsigned. This is in line to what cffi does

  • Participants
  • Parent commits 3e91413
  • Branches virtual-raw-mallocs

Comments (0)

Files changed (1)

File pypy/rlib/jit_libffi.py

         if   ffi_type == types.void:    return 'v'
         elif ffi_type == types.double:  return 'f'
         elif ffi_type == types.float:   return 'S'
-        elif ffi_type == types.pointer: return 'i'
+        elif ffi_type == types.pointer: return 'u'
         #
         elif ffi_type == types.schar:   return 'i'
         elif ffi_type == types.uchar:   return 'u'