]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/socket_private.h
Add a dynamic receiver class for more flexible packet handling
[libs/net.git] / source / net / socket_private.h
index 86ce587643e24b04262cc89564b5d236acb0d9c3..bb9eff6f1c280fbce695dbe4afaf37454a7c7845 100644 (file)
@@ -27,7 +27,7 @@ struct Socket::Private
        int get_option(int, int, void *, socklen_t *);
 };
 
-unsigned check_sys_error(int, const char *);
+std::size_t check_sys_error(std::make_signed<std::size_t>::type, const char *);
 bool check_sys_connect_error(int);
 
 } // namespace Net