Permalink
Browse files

Remove spurious cast

  • Loading branch information...
1 parent a95f881 commit bc20427ad46f50bb127645ffc2e03059095b54d1 @msantos committed Feb 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 sods/sods_dns.c
View
2 sods/sods_dns.c
@@ -407,7 +407,7 @@ sds_dns_packet(SDS_PKT *pkt, void *data, size_t len)
return;
}
- (void)memcpy((void *)&pkt->data + pkt->datalen, data, len);
+ (void)memcpy(&pkt->data + pkt->datalen, data, len);
pkt->datalen += len;
}

0 comments on commit bc20427

Please sign in to comment.