cppcheck: incorrect printf specifiers

This commit is contained in:
Aaron Gyes 2016-11-06 04:29:47 -08:00
parent 839cd2a1c7
commit 034aaaa62b

View file

@ -102,7 +102,7 @@ static void dump_node(indent_t node_indent, const parse_node_t &node, const wcst
nextc_str[1] = L'c'; nextc_str[1] = L'c';
nextc_str[2] = nextc + '@'; nextc_str[2] = nextc + '@';
} }
fwprintf(stderr, L"{off %4d, len %4d, indent %2u, kw %ls, %ls} [%ls|%ls|%ls]\n", fwprintf(stderr, L"{off %4u, len %4u, indent %2u, kw %ls, %ls} [%ls|%ls|%ls]\n",
node.source_start, node.source_length, node_indent, keyword_description(node.keyword), node.source_start, node.source_length, node_indent, keyword_description(node.keyword),
token_type_description(node.type), prevc_str, source_txt.c_str(), nextc_str); token_type_description(node.type), prevc_str, source_txt.c_str(), nextc_str);
} }