*: assorted warning fixes
A few warnings slipped through the cracks...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c
index b4348f4..3f008d3 100644
--- a/ospf6d/ospf6_lsa.c
+++ b/ospf6d/ospf6_lsa.c
@@ -807,8 +807,8 @@
for (i = 0; i < MIN (size, sizeof (buf)); i++)
{
- if (! islower (h->name[i]))
- buf[i] = tolower (h->name[i]);
+ if (! islower ((unsigned char)h->name[i]))
+ buf[i] = tolower ((unsigned char)h->name[i]);
else
buf[i] = h->name[i];
}