[CalendarServer-changes] [3081] PyOpenDirectory/trunk/src/CDirectoryService.cpp

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 26 16:49:33 PDT 2008


Revision: 3081
          http://trac.macosforge.org/projects/calendarserver/changeset/3081
Author:   wsanchez at apple.com
Date:     2008-09-26 16:49:32 -0700 (Fri, 26 Sep 2008)
Log Message:
-----------
unsigned long -> UInt32

Modified Paths:
--------------
    PyOpenDirectory/trunk/src/CDirectoryService.cpp

Modified: PyOpenDirectory/trunk/src/CDirectoryService.cpp
===================================================================
--- PyOpenDirectory/trunk/src/CDirectoryService.cpp	2008-09-26 23:36:34 UTC (rev 3080)
+++ PyOpenDirectory/trunk/src/CDirectoryService.cpp	2008-09-26 23:49:32 UTC (rev 3081)
@@ -311,7 +311,7 @@
         do
         {
             // List all the appropriate records
-            unsigned long recCount = 0;
+            UInt32 recCount = 0;
             tDirStatus err;
             do
             {
@@ -320,7 +320,7 @@
                     ReallocBuffer();
             } while(err == eDSBufferTooSmall);
             ThrowIfDSErr(err);
-            for(unsigned long i = 1; i <= recCount; i++)
+            for(UInt32 i = 1; i <= recCount; i++)
             {
                 // Get the record entry
                 ThrowIfDSErr(::dsGetRecordEntry(mNode, mData, i, &attrListRef, &pRecEntry));
@@ -577,7 +577,7 @@
         do
         {
             // List all the appropriate records
-            unsigned long recCount = 0;
+            UInt32 recCount = 0;
             tDirStatus err;
             do
             {
@@ -586,7 +586,7 @@
                     ReallocBuffer();
             } while(err == eDSBufferTooSmall);
             ThrowIfDSErr(err);
-            for(unsigned long i = 1; i <= recCount; i++)
+            for(UInt32 i = 1; i <= recCount; i++)
             {
                 // Get the record entry
                 ThrowIfDSErr(::dsGetRecordEntry(mNode, mData, i, &attrListRef, &pRecEntry));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080926/07ed8545/attachment.html 


More information about the calendarserver-changes mailing list