diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-23 12:43:15 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-23 13:31:11 -0800 |
| commit | 35dece848d46456441d75181953290a23193e84c (patch) | |
| tree | 9d3b79f1f811fb0d3c24bcba27b923a026d0a490 /lib/sockunion.c | |
| parent | 3a7c85d1dedb672ba19ea8958f18f5f7d0fe2321 (diff) | |
Quagga: Fixup some compile warnings
Fixup compile warnings for when you turn on --enable-gcc-ultra-verbose=yes
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/sockunion.c')
| -rw-r--r-- | lib/sockunion.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c index 7e9e78628c..2dbe34c21a 100644 --- a/lib/sockunion.c +++ b/lib/sockunion.c @@ -758,10 +758,10 @@ static int in6addr_cmp (struct in6_addr *addr1, struct in6_addr *addr2) { unsigned int i; - u_char *p1, *p2; + const u_char *p1, *p2; - p1 = (u_char *)addr1; - p2 = (u_char *)addr2; + p1 = (const u_char *)addr1; + p2 = (const u_char *)addr2; for (i = 0; i < sizeof (struct in6_addr); i++) { |
