diff options
author | dimitri staessens <[email protected]> | 2016-08-08 20:06:32 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-08-08 20:06:32 +0200 |
commit | 6a67e34466dff692fbfc4e6cc19cd4958c697450 (patch) | |
tree | ed986b9682a5743d4bd0c48d06dd78e0817bcd52 /src/tools/echo | |
parent | 2bb767b785217fb6f86ce0242f13b2aa59920dbe (diff) | |
download | ouroboros-6a67e34466dff692fbfc4e6cc19cd4958c697450.tar.gz ouroboros-6a67e34466dff692fbfc4e6cc19cd4958c697450.zip |
tools: echo: Fix unnecessary cast
Diffstat (limited to 'src/tools/echo')
-rw-r--r-- | src/tools/echo/echo_server.c | 2 |
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); |