Ticket #941: boinc-macbuild.patch

File boinc-macbuild.patch, 489 bytes (added by mjakubicek, 15 years ago)
  • boinc_core_release_6_6/client/gui_rpc_server.cpp

    old new  
    351351        }
    352352
    353353        boinc_socklen_t addr_len = sizeof(addr);
    354         sock = accept(lsock, (struct sockaddr*)&addr, (boinc_socklen_t*)&addr_len);
     354        sock = accept(lsock, (struct sockaddr*)&addr, (socklen_t*)&addr_len);
    355355        if (sock == -1) {
    356356            return;
    357357        }