mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilation issue on ubuntu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3340 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a999c317ff
commit
43e9f65003
@ -60,7 +60,9 @@ class rsUdpStack: public UdpStack, public pqiNetListener
|
||||
/* from pqiNetListener */
|
||||
virtual bool resetListener(struct sockaddr_in &local)
|
||||
{
|
||||
std::cerr << "rsUdpStack::resetListener(" << local << ")";
|
||||
// The const_cast below is not so nice but without it, the compiler can't
|
||||
// find the correct operator<<(). No idea why!
|
||||
std::cerr << "rsUdpStack::resetListener(" << const_cast<const struct sockaddr_in &>(local) << ")";
|
||||
std::cerr << std::endl;
|
||||
return resetAddress(local);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user