diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index 661668e6d..2ff28c415 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -2937,7 +2937,7 @@ bool p3ConnectMgr::checkNetAddress() std::list::iterator it; in_addr_t old_in_addr = ownState.localaddr.sin_addr.s_addr; - in_port_t old_in_port = ownState.localaddr.sin_port; + int old_in_port = ownState.localaddr.sin_port; { RsStackMutex stack(connMtx); /****** STACK LOCK MUTEX *******/