diff options
author | Rob Landley <rob@landley.net> | 2006-08-01 00:30:26 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-08-01 00:30:26 +0000 |
commit | cae61e7ca4200e976de1a790075ef1d7b5317bb2 (patch) | |
tree | 30116aecdca321830e11fadfd6dab36eb3de99e2 /networking/ping.c | |
parent | 2aced7ea043aff64bd4e5f2814818fb4d0c803d4 (diff) | |
download | busybox-w32-cae61e7ca4200e976de1a790075ef1d7b5317bb2.tar.gz busybox-w32-cae61e7ca4200e976de1a790075ef1d7b5317bb2.tar.bz2 busybox-w32-cae61e7ca4200e976de1a790075ef1d7b5317bb2.zip |
Make a gcc 4.1 warning go away.
Diffstat (limited to 'networking/ping.c')
-rw-r--r-- | networking/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping.c b/networking/ping.c index 518265668..5cd6f4a1a 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -211,7 +211,7 @@ static void sendping(int junk) | |||
211 | pkt->icmp_type = ICMP_ECHO; | 211 | pkt->icmp_type = ICMP_ECHO; |
212 | pkt->icmp_code = 0; | 212 | pkt->icmp_code = 0; |
213 | pkt->icmp_cksum = 0; | 213 | pkt->icmp_cksum = 0; |
214 | pkt->icmp_seq = htons(ntransmitted++); | 214 | pkt->icmp_seq = SWAP_BE16(ntransmitted++); |
215 | pkt->icmp_id = myid; | 215 | pkt->icmp_id = myid; |
216 | CLR(ntohs(pkt->icmp_seq) % MAX_DUP_CHK); | 216 | CLR(ntohs(pkt->icmp_seq) % MAX_DUP_CHK); |
217 | 217 | ||