diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-20 09:05:46 -0500 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-12-08 14:16:19 -0500 |
commit | 76764ddcf53fa4840993c395fdf383a47ad61e8e (patch) | |
tree | f2c0a5b808f404071ce5c023eb26650671911de9 /lib | |
parent | 642577340cfb7ad66d021ab2b86d72f7cdde03bc (diff) | |
download | quagga-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |