diff options
author | David G. Quintas <dgq@google.com> | 2015-09-15 10:56:11 -0700 |
---|---|---|
committer | David G. Quintas <dgq@google.com> | 2015-09-15 10:56:11 -0700 |
commit | 6f3680160a8a7dde0d6fd2ea021209df3336a3c3 (patch) | |
tree | 79deb2af45071711812fdfb828bdf142210f3349 /src/core/support | |
parent | 76cda1f2d235751872b3caf1e737624444644ae2 (diff) | |
parent | 131f6edafa1a281604fffc24019dcb99134eec9f (diff) |
Merge pull request #3338 from ctiller/bettererer-ports
Better port selection
Diffstat (limited to 'src/core/support')
-rw-r--r-- | src/core/support/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/support/string.c b/src/core/support/string.c index af0389ea83..e0ffeb8a4a 100644 --- a/src/core/support/string.c +++ b/src/core/support/string.c @@ -101,7 +101,7 @@ static void asciidump(dump_out *out, const char *buf, size_t len) { dump_out_append(out, '\''); } for (cur = beg; cur != end; ++cur) { - dump_out_append(out, isprint(*cur) ? *(char *)cur : '.'); + dump_out_append(out, (char)(isprint(*cur) ? *(char *)cur : '.')); } if (!out_was_empty) { dump_out_append(out, '\''); |