diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-20 07:12:30 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-20 07:12:30 -0800 |
| commit | 8afc891ac75f2b1f17d9190ef8de5378ec55fcd5 (patch) | |
| tree | 113524294da47562a3e1c24920e5917d5dd9f31e /lib/log.c | |
| parent | 70d43d7cd31964f8b7c2908d93b186a4c3caf3db (diff) | |
| parent | 8da4e9466a3a3cdbfbc36e92528a9c8f395b230c (diff) | |
Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster
Diffstat (limited to 'lib/log.c')
| -rw-r--r-- | lib/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1021,7 +1021,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 */ |
