X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Ftext%2Fdmesg%2Fdmesg.c;h=199dbf925db862fac3288dcc4e10cb0e8905ce8f;hb=994cd345db7a82957ce647c2dac28cae11382dcc;hp=50ceb7e64454d87833bd46cb8034a0f1eb370e72;hpb=1ccca665267b4bae923e6435496ed380bd080db5;p=babeltrace.git diff --git a/src/plugins/text/dmesg/dmesg.c b/src/plugins/text/dmesg/dmesg.c index 50ceb7e6..199dbf92 100644 --- a/src/plugins/text/dmesg/dmesg.c +++ b/src/plugins/text/dmesg/dmesg.c @@ -773,7 +773,7 @@ bt_message_iterator_class_next_method_status dmesg_msg_iter_next_one( /* Ignore empty lines, once trimmed */ for (ch = dmesg_msg_iter->linebuf; *ch != '\0'; ch++) { - if (!isspace(*ch)) { + if (!isspace((unsigned char) *ch)) { only_spaces = false; break; }