X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnet%2Funix%2Fsocket.cpp;h=b8cc580f0040f7f16c1bf8adbc4668dce5a2c6ec;hb=c2eeb0da9f5e5de1b8de1bc66a42709e54d504e2;hp=970b9aedd3be443dff55e6500a296719041ea678;hpb=e509c358e907dcd3c39968c7f2370832670537eb;p=libs%2Fnet.git diff --git a/source/net/unix/socket.cpp b/source/net/unix/socket.cpp index 970b9ae..b8cc580 100644 --- a/source/net/unix/socket.cpp +++ b/source/net/unix/socket.cpp @@ -9,6 +9,8 @@ #include "socket.h" #include "socket_private.h" +using namespace std; + namespace Msp { namespace Net { @@ -58,7 +60,7 @@ int Socket::Private::get_option(int level, int optname, void *optval, socklen_t } -unsigned check_sys_error(int ret, const char *func) +size_t check_sys_error(make_signed::type ret, const char *func) { if(ret<0) {