diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:46:13 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:46:19 +0200 |
commit | e691c3bb972c0baf610d9e210ce20ea6546e1de0 (patch) | |
tree | a3e83b01ecd4fe9e739a24dc77c61a46fd0531a2 /ospf6d/ospf6_lsa.c | |
parent | 193e78f2460a537695e34368a29fc5cd02e4e1f5 (diff) | |
download | quagga-e691c3bb972c0baf610d9e210ce20ea6546e1de0.tar.bz2 quagga-e691c3bb972c0baf610d9e210ce20ea6546e1de0.tar.xz |
*: assorted warning fixes
A few warnings slipped through the cracks...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r-- | ospf6d/ospf6_lsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index b4348f46..3f008d3d 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -807,8 +807,8 @@ ospf6_lsa_handler_name (struct ospf6_lsa_handler *h) 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]; } |