X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-visitor-xml.c;h=54b5feb84d552e0e70cfb4fa11e2884723a64a86;hp=a4d8549f280aa22a3ee116ad54a568b9cb6d245c;hb=380d60b1bd3c5d1a709dca3eeb8e718598fed235;hpb=47e0f2e23aef98a584bf964754ab1e29c2897cfb diff --git a/formats/ctf/metadata/ctf-visitor-xml.c b/formats/ctf/metadata/ctf-visitor-xml.c index a4d8549f..54b5feb8 100644 --- a/formats/ctf/metadata/ctf-visitor-xml.c +++ b/formats/ctf/metadata/ctf-visitor-xml.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include "ctf-scanner.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: