Commit 4864f12f authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: remove a warning

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 5f59e30a
......@@ -10,6 +10,7 @@
#include "../PTPWRd/ptpd.h"
#include "../PTPWRd/datatypes.h"
#include "wrc_ptp.h"
#include <syscon.h>
int usleep(useconds_t useconds)
{
......
......@@ -89,7 +89,7 @@ wr_socket_t *ptpd_netif_create_socket(int sock_type, int flags, wr_sockaddr_t *b
memcpy (&sock->bind_addr, bind_addr, sizeof(wr_sockaddr_t));
/*get mac from endpoint*/
get_mac_addr(&sock->local_mac);
get_mac_addr((uint8_t *)&sock->local_mac);
sock->phase_transition = pstate.t2_phase_transition;
sock->dmtd_phase = pstate.phase_val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment