From 6a67e34466dff692fbfc4e6cc19cd4958c697450 Mon Sep 17 00:00:00 2001
From: dimitri staessens <dimitri.staessens@intec.ugent.be>
Date: Mon, 8 Aug 2016 20:06:32 +0200
Subject: tools: echo: Fix unnecessary cast

---
 src/tools/echo/echo_server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/tools/echo')

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);
-- 
cgit v1.2.3