diff options
Diffstat (limited to 'tests/sockets/test_sockets_partial_client.c')
-rw-r--r-- | tests/sockets/test_sockets_partial_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sockets/test_sockets_partial_client.c b/tests/sockets/test_sockets_partial_client.c index dcf90f19..61084b17 100644 --- a/tests/sockets/test_sockets_partial_client.c +++ b/tests/sockets/test_sockets_partial_client.c @@ -25,7 +25,7 @@ void finish(int result) { exit(result); } -void iter(void *arg) { +void iter() { char buffer[1024]; char packetLength; fd_set fdr; @@ -111,7 +111,7 @@ int main() { #if EMSCRIPTEN emscripten_set_main_loop(iter, 0, 0); #else - while (1) iter(NULL); + while (1) iter(); #endif return EXIT_SUCCESS; |