[pypy-svn] r72763 - pypy/branch/fix-64/pypy/lib

arigo at codespeak.net arigo at codespeak.net
Wed Mar 24 22:22:14 CET 2010


Author: arigo
Date: Wed Mar 24 22:22:13 2010
New Revision: 72763

Modified:
   pypy/branch/fix-64/pypy/lib/resource.py
Log:
Fix.  Alternatively, this should use ctypes_config_cache a bit more.


Modified: pypy/branch/fix-64/pypy/lib/resource.py
==============================================================================
--- pypy/branch/fix-64/pypy/lib/resource.py	(original)
+++ pypy/branch/fix-64/pypy/lib/resource.py	Wed Mar 24 22:22:13 2010
@@ -28,8 +28,8 @@
 
 class timeval(Structure):
     _fields_ = (
-        ("tv_sec", c_int),
-        ("tv_usec", c_int),
+        ("tv_sec", c_long),
+        ("tv_usec", c_long),
     )
     def __str__(self):
         return "(%s, %s)" % (self.tv_sec, self.tv_usec)



More information about the Pypy-commit mailing list