Make libswift compilable after moving to MPTP sockets.
[swifty.git] / src / libswift / ext / simple_selector.cpp
index 6431c47..024072f 100644 (file)
@@ -27,7 +27,7 @@ public:
         for(peer_queue_t::iterator i=peers.begin(); i!=peers.end(); i++)
             if (i->second==for_root) {
                 i->second = Sha1Hash::ZERO; // horror TODO rewrite
-                sockaddr_in ret = i->first;
+                Address ret = i->first;
                 while (peers.begin()->second==Sha1Hash::ZERO)
                     peers.pop_front();
                 return ret;