diff options
| author | vivek <vivek@cumulusnetworks.com> | 2015-11-20 08:51:48 -0800 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2015-11-20 08:51:48 -0800 |
| commit | 922705ecdccad98dcb5eb8dcb37394ec339afe51 (patch) | |
| tree | b2db1f62de86768be5edc4658bff5f345282cc89 /lib/log.c | |
| parent | 41ec92223a7dfc14eb8cb0b84c73ad09943213eb (diff) | |
| parent | 8afc891ac75f2b1f17d9190ef8de5378ec55fcd5 (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 */ |
