A couple compiler warnings snuck in from the last
round of work being looked at.  This cleans them up

Signed-off-by: Donald Sharp <[email protected]>
---
 isisd/isis_bpf.c | 2 ++
 lib/log.c        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/isisd/isis_bpf.c b/isisd/isis_bpf.c
index fd65608..889b4c3 100644
--- a/isisd/isis_bpf.c
+++ b/isisd/isis_bpf.c
@@ -348,6 +348,8 @@ isis_send_pdu_bcast (struct isis_circuit *circuit, int 
level)
         return ISIS_WARNING;
       return ISIS_ERROR;
     }
+
+  return ISIS_OK;
 }
 
 int
diff --git a/lib/log.c b/lib/log.c
index e376205..0914bf8 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -1036,7 +1036,7 @@ zlog_hexdump (void *mem, unsigned int len) {
               if (j >= len) /* end of block, not really printing */
                 s += sprintf(s, " ");
 
-              else if(isprint(((char*)mem)[j])) /* printable char */
+              else if(isprint((int)((char*)mem)[j])) /* printable char */
                 s += sprintf(s, "%c", 0xFF & ((char*)mem)[j]);
 
               else /* other char */
-- 
1.9.1


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to