Commit e447f058 authored by Simon Giesecke's avatar Simon Giesecke

Problem: C4244 warnings regarding SOCKET vs. int in test_system

Solution: Use fd_t
parent 106127b5
......@@ -82,7 +82,7 @@ int main (void)
return -1;
}
// Check that we can create 1,000 sockets
int handle[MAX_SOCKETS];
fd_t handle[MAX_SOCKETS];
int count;
for (count = 0; count < MAX_SOCKETS; count++) {
handle[count] = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment