[CalendarServer-changes] [1315]
PyOpenDirectory/trunk/src/PythonWrapper.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 5 14:28:37 PST 2007
Revision: 1315
http://trac.macosforge.org/projects/calendarserver/changeset/1315
Author: wsanchez at apple.com
Date: 2007-03-05 14:28:36 -0800 (Mon, 05 Mar 2007)
Log Message:
-----------
Use proper type for size storage
Modified Paths:
--------------
PyOpenDirectory/trunk/src/PythonWrapper.cpp
Modified: PyOpenDirectory/trunk/src/PythonWrapper.cpp
===================================================================
--- PyOpenDirectory/trunk/src/PythonWrapper.cpp 2007-03-05 21:28:57 UTC (rev 1314)
+++ PyOpenDirectory/trunk/src/PythonWrapper.cpp 2007-03-05 22:28:36 UTC (rev 1315)
@@ -108,7 +108,7 @@
CFMutableDictionaryRef result = CFDictionaryCreateMutable(kCFAllocatorDefault, PyDict_Size(dict), &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
PyObject* key;
PyObject* value;
- int pos = 0;
+ Py_ssize_t pos = 0;
while (PyDict_Next(dict, &pos, &key, &value))
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070305/ade6f1d0/attachment.html
More information about the calendarserver-changes
mailing list