aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2015-09-15 10:56:11 -0700
committerGravatar David G. Quintas <dgq@google.com>2015-09-15 10:56:11 -0700
commit6f3680160a8a7dde0d6fd2ea021209df3336a3c3 (patch)
tree79deb2af45071711812fdfb828bdf142210f3349 /src/core/support
parent76cda1f2d235751872b3caf1e737624444644ae2 (diff)
parent131f6edafa1a281604fffc24019dcb99134eec9f (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.c2
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, '\'');