[CalendarServer-changes] [3392] CalendarServer/trunk/twistedcaldav/util.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 18 13:43:10 PST 2008


Revision: 3392
          http://trac.macosforge.org/projects/calendarserver/changeset/3392
Author:   sagen at apple.com
Date:     2008-11-18 13:43:09 -0800 (Tue, 18 Nov 2008)
Log Message:
-----------
Fixes cpu-count detection on 64-bit

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/util.py

Modified: CalendarServer/trunk/twistedcaldav/util.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/util.py	2008-11-18 19:45:11 UTC (rev 3391)
+++ CalendarServer/trunk/twistedcaldav/util.py	2008-11-18 21:43:09 UTC (rev 3392)
@@ -37,7 +37,7 @@
         libc.sysctlbyname(
             "hw.ncpu",
             c_voidp(addressof(ncpu)),
-            addressof(size),
+            c_voidp(addressof(size)),
             None, 0
         )
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081118/7f6b4c3e/attachment-0001.html>


More information about the calendarserver-changes mailing list