summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2013-10-16 14:21:20 +0200
committerDenys Vlasenko2013-10-16 14:21:20 +0200
commit5117eff6f938a6daa269f965a52abc93b49d90d6 (patch)
treee0cd5ec91a93da075184310cd51f35f11744f453 /networking
parenteba5faec67da1c95cf9616b5deacbea24fbd3998 (diff)
downloadbusybox-5117eff6f938a6daa269f965a52abc93b49d90d6.zip
busybox-5117eff6f938a6daa269f965a52abc93b49d90d6.tar.gz
Fix some compiler warnings emitted by gcc-4.8.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping.c b/networking/ping.c
index f27e214..5e4771f 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -516,7 +516,7 @@ static void sendping6(int junk UNUSED_PARAM)
pkt->icmp6_id = myid;
/*if (datalen >= 4)*/
- *(uint32_t*)(&pkt->icmp6_data8[4]) = monotonic_us();
+ *(bb__aliased_uint32_t*)(&pkt->icmp6_data8[4]) = monotonic_us();
//TODO? pkt->icmp_cksum = inet_cksum(...);