Skip to content

Commit

Permalink
stupid compilers don't complain if uint64_t is used as a ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Dec 26, 2019
1 parent 90069e1 commit 512cd32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/io/master.c
Expand Up @@ -1127,7 +1127,7 @@ static ssize_t mod_read(fr_listen_t *li, void **packet_ctx, fr_time_t *recv_time
*packet_ctx = track;
*leftover = 0;
*priority = pending->priority;
recv_time = recv_time_p = pending->recv_time;
recv_time = *recv_time_p = pending->recv_time;
client = track->client;

memcpy(buffer, pending->buffer, pending->buffer_len);
Expand Down Expand Up @@ -1555,7 +1555,7 @@ static ssize_t mod_read(fr_listen_t *li, void **packet_ctx, fr_time_t *recv_time
/*
* Return the packet.
*/
*recv_time_p = &track->timestamp;
*recv_time_p = track->timestamp;
*packet_ctx = track;
return packet_len;
}
Expand Down

0 comments on commit 512cd32

Please sign in to comment.