Skip to content

Commit

Permalink
Remove spurious cast
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Feb 3, 2013
1 parent a95f881 commit bc20427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sods/sods_dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit bc20427

Please sign in to comment.