[pypy-svn] r47114 - pypy/dist/pypy/rpython/module

mwh at codespeak.net mwh at codespeak.net
Wed Oct 3 15:18:46 CEST 2007


Author: mwh
Date: Wed Oct  3 15:18:44 2007
New Revision: 47114

Modified:
   pypy/dist/pypy/rpython/module/ll_os_stat.py
Log:
more INT precision


Modified: pypy/dist/pypy/rpython/module/ll_os_stat.py
==============================================================================
--- pypy/dist/pypy/rpython/module/ll_os_stat.py	(original)
+++ pypy/dist/pypy/rpython/module/ll_os_stat.py	Wed Oct  3 15:18:44 2007
@@ -195,7 +195,7 @@
         try:
             if arg_is_path:
                 arg = rffi.str2charp(arg)
-            error = os_mystat(arg, stresult)
+            error = rffi.cast(rffi.LONG, os_mystat(arg, stresult))
             if arg_is_path:
                 rffi.free_charp(arg)
             if error != 0:



More information about the Pypy-commit mailing list