diff --git a/tests/test_security_null.cpp b/tests/test_security_null.cpp index 90ad5caa..d6f8beb6 100644 --- a/tests/test_security_null.cpp +++ b/tests/test_security_null.cpp @@ -209,7 +209,7 @@ int main (void) assert (rc == 0); struct sockaddr_in ip4addr; - int s; + fd_t s; unsigned short int port; rc = sscanf (my_endpoint, "tcp://127.0.0.1:%hu", &port); diff --git a/tests/test_security_plain.cpp b/tests/test_security_plain.cpp index 8542c323..1ca2e5ad 100644 --- a/tests/test_security_plain.cpp +++ b/tests/test_security_plain.cpp @@ -170,7 +170,7 @@ int main (void) // Unauthenticated messages from a vanilla socket shouldn't be received struct sockaddr_in ip4addr; - int s; + fd_t s; unsigned short int port; rc = sscanf (my_endpoint, "tcp://127.0.0.1:%hu", &port);