]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_utilities/lib/machserver.cpp
Security-55471.14.4.tar.gz
[apple/security.git] / libsecurity_utilities / lib / machserver.cpp
index c71336b7e0b7f7a18965b7b260b850489fe16787..c036e61786c4db679cacaa208261119c1cc18e15 100644 (file)
@@ -129,7 +129,7 @@ void MachServer::notifyIfUnused(Port port, bool doNotify) const
 // as appropriate.
 // @@@ Msg-errors in additional threads are not acted upon.
 //
-void MachServer::run(size_t maxSize, mach_msg_options_t options)
+void MachServer::run(mach_msg_size_t maxSize, mach_msg_options_t options)
 {
        // establish server-global (thread-shared) parameters
        mMaxSize = maxSize;
@@ -177,7 +177,7 @@ void MachServer::runServerThread(bool doTimeout)
                        eventDone();
                        
                        // process all pending timers
-                       while (processTimer()) ;
+                       while (processTimer()) {}
                
                        // check for worker idle timeout
                        {       StLock<Mutex> _(managerLock);