X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-visitor-xml.c;h=54b5feb84d552e0e70cfb4fa11e2884723a64a86;hb=632f35fe3c439750db5d94e627eb840939fabcf6;hp=96d4ec5fc2fa15a347fbc689abb5fc54df190515;hpb=0009a72566b746aaa6dc82d93e547a422af2587c;p=babeltrace.git diff --git a/formats/ctf/metadata/ctf-visitor-xml.c b/formats/ctf/metadata/ctf-visitor-xml.c index 96d4ec5f..54b5feb8 100644 --- a/formats/ctf/metadata/ctf-visitor-xml.c +++ b/formats/ctf/metadata/ctf-visitor-xml.c @@ -21,9 +21,10 @@ #include #include #include -#include #include +#include #include +#include #include "ctf-scanner.h" #include "ctf-parser.h" #include "ctf-ast.h" @@ -73,13 +74,13 @@ int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *nod case UNARY_SIGNED_CONSTANT: print_tabs(fd, depth); fprintf(fd, "u.unary_expression.u.signed_constant); + fprintf(fd, "%" PRId64, node->u.unary_expression.u.signed_constant); fprintf(fd, " />\n"); break; case UNARY_UNSIGNED_CONSTANT: print_tabs(fd, depth); fprintf(fd, "u.unary_expression.u.signed_constant); + fprintf(fd, "%" PRIu64, node->u.unary_expression.u.signed_constant); fprintf(fd, " />\n"); break; case UNARY_SBRAC: