summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/sntp/networking.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/sntp/networking.c')
-rw-r--r--contrib/ntp/sntp/networking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/sntp/networking.c b/contrib/ntp/sntp/networking.c
index ddd45ef..6a176c5 100644
--- a/contrib/ntp/sntp/networking.c
+++ b/contrib/ntp/sntp/networking.c
@@ -136,7 +136,7 @@ process_pkt (
return PACKET_UNUSEABLE;
}
/* Note: pkt_len must be a multiple of 4 at this point! */
- packet_end = (u_int32*)((char*)rpkt + pkt_len);
+ packet_end = (void*)((char*)rpkt + pkt_len);
exten_end = skip_efields(rpkt->exten, packet_end);
if (NULL == exten_end) {
msyslog(LOG_ERR,
OpenPOWER on IntegriCloud