Bug 1289984: fix Windows compiler warnings. r=bwc
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Wed, 27 Jul 2016 17:13:43 -0700
changeset 349174 ca06c0afd540b59fc90d81903c6c018bea1b4d9d
parent 349173 8e5c846a97744ed444c45db5c04a59f46fe8469c
child 349175 154bf0638857a19e2b8164488d23c05d9f83de95
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc
bugs1289984
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1289984: fix Windows compiler warnings. r=bwc MozReview-Commit-ID: EWSJZdxPzQk
media/mtransport/third_party/nICEr/src/net/transport_addr.c
media/mtransport/third_party/nICEr/src/net/transport_addr_reg.c
--- a/media/mtransport/third_party/nICEr/src/net/transport_addr.c
+++ b/media/mtransport/third_party/nICEr/src/net/transport_addr.c
@@ -45,16 +45,17 @@ static char *RCSSTRING __UNUSED__="$Id: 
 #else
 #include <unistd.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
 #include <assert.h>
 #include "nr_api.h"
+#include "util.h"
 #include "transport_addr.h"
 
 int nr_transport_addr_fmt_addr_string(nr_transport_addr *addr)
   {
     int _status;
     /* Max length for normalized IPv6 address string representation is 39 */
     char buffer[40];
     const char *protocol;
--- a/media/mtransport/third_party/nICEr/src/net/transport_addr_reg.c
+++ b/media/mtransport/third_party/nICEr/src/net/transport_addr_reg.c
@@ -45,16 +45,17 @@ static char *RCSSTRING __UNUSED__="$Id: 
 #include <strings.h>
 #include <unistd.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
 #include <assert.h>
 #include "nr_api.h"
+#include "util.h"
 #include "transport_addr.h"
 #include "transport_addr_reg.h"
 
 #ifndef INET6_ADDRSTRLEN
 #define INET6_ADDRSTRLEN 46 /* Value used by linux/BSD */
 #endif
 
 int