]> git.puffer.fish Git - mirror/frr.git/commit
zebra, isisd: cast to unsigned char for ctypes
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 10 Apr 2015 07:14:30 +0000 (09:14 +0200)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:29 +0000 (15:33 +0000)
commit27b87393125262780206642971f9576ed7931338
treeac27d64de3e5a6ea222f67f8b4a7926536391d3d
parent29255fa7293e8db056a991bc88684e70c2aac794
zebra, isisd: cast to unsigned char for ctypes

ctype.h macros take int as arguments, but expect arguments to be in
unsigned char's range.  Even though it probably works, this isn't
correct on systems that have a signed char type.  Cast explicitly.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 52f02b47685bc823c4c75560175a27aab0bd6709)
isisd/isis_circuit.c
zebra/rtadv.c