summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-08-08 20:06:32 +0200
committerdimitri staessens <[email protected]>2016-08-08 20:06:32 +0200
commit6a67e34466dff692fbfc4e6cc19cd4958c697450 (patch)
treeed986b9682a5743d4bd0c48d06dd78e0817bcd52
parent2bb767b785217fb6f86ce0242f13b2aa59920dbe (diff)
downloadouroboros-6a67e34466dff692fbfc4e6cc19cd4958c697450.tar.gz
ouroboros-6a67e34466dff692fbfc4e6cc19cd4958c697450.zip
tools: echo: Fix unnecessary cast
-rw-r--r--src/tools/echo/echo_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c
index c5e9f807..e6ab9cfd 100644
--- a/src/tools/echo/echo_server.c
+++ b/src/tools/echo/echo_server.c
@@ -62,7 +62,7 @@ int server_main()
continue;
}
- count = flow_read(client_fd, (void **) &buf, BUF_SIZE);
+ count = flow_read(client_fd, &buf, BUF_SIZE);
if (count < 0) {
printf("Failed to read SDU.\n");
flow_dealloc(client_fd);