projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: cast arguments to character classification functions to unsigned char
[babeltrace.git]
/
src
/
plugins
/
text
/
pretty
/
print.c
diff --git
a/src/plugins/text/pretty/print.c
b/src/plugins/text/pretty/print.c
index 92258030bc79f5dae24009eba88c3f6d3c8e3ac5..f81b892b1d19c0ffd4e79f0f5e091fc78d61bb93 100644
(file)
--- a/
src/plugins/text/pretty/print.c
+++ b/
src/plugins/text/pretty/print.c
@@
-639,7
+639,7
@@
void print_escape_string(struct pretty_component *pretty, const char *str)
}
/* Standard characters. */
}
/* Standard characters. */
- if (!iscntrl(str[i])) {
+ if (!iscntrl(
(unsigned char)
str[i])) {
bt_common_g_string_append_c(pretty->string, str[i]);
continue;
}
bt_common_g_string_append_c(pretty->string, str[i]);
continue;
}
This page took
0.023246 seconds
and
4
git commands to generate.