summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-11-20 09:05:46 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-12-08 14:16:19 -0500
commit76764ddcf53fa4840993c395fdf383a47ad61e8e (patch)
treef2c0a5b808f404071ce5c023eb26650671911de9 /lib
parent642577340cfb7ad66d021ab2b86d72f7cdde03bc (diff)
downloadquagga-76764ddcf53fa4840993c395fdf383a47ad61e8e.tar.bz2
quagga-76764ddcf53fa4840993c395fdf383a47ad61e8e.tar.xz
isisd, lib: Fix some more compiler warnings
A couple compiler warnings snuck in from the last round of work being looked at. This cleans them up Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index e376205d..0914bf84 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 */