libgpg-error: fix riscv64
[openadk.git] / package / traceroute / patches / patch-traceroute_mod-icmp_c
blob13852be0b06d366d8641f0e0b24f874d317716d1
1 --- traceroute-2.0.19.orig/traceroute/mod-icmp.c        2011-08-18 17:12:00.000000000 +0200
2 +++ traceroute-2.0.19/traceroute/mod-icmp.c     2013-12-29 20:01:35.000000000 +0100
3 @@ -20,8 +20,8 @@
4  
5  
6  static sockaddr_any dest_addr = {{ 0, }, };
7 -static u_int16_t seq = 1;
8 -static u_int16_t ident = 0;
9 +static uint16_t seq = 1;
10 +static uint16_t ident = 0;
12  static char *data;
13  static size_t *length_p;
14 @@ -173,7 +173,7 @@ static probe *icmp_check_reply (int sk,
15                                                     char *buf, size_t len) {
16         int af = dest_addr.sa.sa_family;
17         int type;
18 -       u_int16_t recv_id, recv_seq;
19 +       uint16_t recv_id, recv_seq;
20         probe *pb;