shithub: opus-tools

Download patch

ref: 7609f0c1d95537ac9bbf8b5651f1c21ecbd74bfb
parent: 92fa555a71fbad955bb5b71b8d5459d44cc4d41d
author: Mark Harris <mark.hsj@gmail.com>
date: Fri Dec 18 10:18:09 EST 2015

opusrtp: Fix clang -Wcast-align warning

--- a/src/opusrtp.c
+++ b/src/opusrtp.c
@@ -662,7 +662,7 @@
 void write_packet(u_char *args, const struct pcap_pkthdr *header,
                   const u_char *data)
 {
-  state *params = (state *)args;
+  state *params = (state *)(void *)args;
   const unsigned char *packet;
   int size;
   eth_header eth;