-
-
Save sthalik/f4cedc059dcc47cc1f63873841b6e803 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r df2a94c7ae6f rpython/rtyper/lltypesystem/rffi.py | |
--- a/rpython/rtyper/lltypesystem/rffi.py Sat May 06 19:38:18 2017 +0100 | |
+++ b/rpython/rtyper/lltypesystem/rffi.py Wed May 10 14:19:30 2017 +0100 | |
@@ -1075,7 +1075,7 @@ | |
return size | |
if (tp is lltype.Signed or isinstance(tp, lltype.Ptr) | |
or tp is llmemory.Address): | |
- return LONG_BIT/8 | |
+ return r_intptr_t.BITS/8 | |
if tp is lltype.Char or tp is lltype.Bool: | |
return 1 | |
if tp is lltype.UniChar: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment