X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_utilities/lib/machserver.cpp diff --git a/libsecurity_utilities/lib/machserver.cpp b/libsecurity_utilities/lib/machserver.cpp index c71336b7..c036e617 100644 --- a/libsecurity_utilities/lib/machserver.cpp +++ b/libsecurity_utilities/lib/machserver.cpp @@ -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 _(managerLock);