Index: uspace/lib/inet/include/inet/eth_addr.h
===================================================================
--- uspace/lib/inet/include/inet/eth_addr.h	(revision 2177b3990e6700fc567aafcb2301dbfbdac204e9)
+++ uspace/lib/inet/include/inet/eth_addr.h	(revision 241ab7e11a995ede41fed730b4b8dab9b700c38c)
@@ -74,6 +74,6 @@
 extern const eth_addr_t eth_addr_broadcast;
 
-extern void eth_addr_encode(eth_addr_t *, void *);
-extern void eth_addr_decode(const void *, eth_addr_t *);
+extern void eth_addr_encode(eth_addr_t *, uint8_t *);
+extern void eth_addr_decode(const uint8_t *, eth_addr_t *);
 
 extern int eth_addr_compare(const eth_addr_t *, const eth_addr_t *);
Index: uspace/lib/inet/src/eth_addr.c
===================================================================
--- uspace/lib/inet/src/eth_addr.c	(revision 2177b3990e6700fc567aafcb2301dbfbdac204e9)
+++ uspace/lib/inet/src/eth_addr.c	(revision 241ab7e11a995ede41fed730b4b8dab9b700c38c)
@@ -50,7 +50,6 @@
  * @param buf Buffer (ETH_ADDR_SIZE bytes in size) to store bytes
  */
-void eth_addr_encode(eth_addr_t *addr, void *buf)
+void eth_addr_encode(eth_addr_t *addr, uint8_t *buf)
 {
-	uint8_t *bp = (uint8_t *)buf;
 	uint64_t a;
 	int i;
@@ -59,5 +58,5 @@
 
 	for (i = 0; i < ETH_ADDR_SIZE; i++)
-		bp[i] = (a >> (40 - 8 * i)) & 0xff;
+		buf[i] = (a >> (40 - 8 * i)) & 0xff;
 }
 
@@ -70,7 +69,6 @@
  * @param addr Place to store Ethernet address
  */
-void eth_addr_decode(const void *buf, eth_addr_t *addr)
+void eth_addr_decode(const uint8_t *buf, eth_addr_t *addr)
 {
-	const uint8_t *bp = (uint8_t *)buf;
 	uint64_t a;
 	int i;
@@ -78,5 +76,5 @@
 	a = 0;
 	for (i = 0; i < ETH_ADDR_SIZE; i++)
-		a |= (uint64_t)bp[i] << (40 - 8 * i);
+		a |= (uint64_t)buf[i] << (40 - 8 * i);
 
 	addr->a = a;
