projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 64-bit warnings
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-visitor-xml.c
diff --git
a/formats/ctf/metadata/ctf-visitor-xml.c
b/formats/ctf/metadata/ctf-visitor-xml.c
index a4d8549f280aa22a3ee116ad54a568b9cb6d245c..54b5feb84d552e0e70cfb4fa11e2884723a64a86 100644
(file)
--- a/
formats/ctf/metadata/ctf-visitor-xml.c
+++ b/
formats/ctf/metadata/ctf-visitor-xml.c
@@
-22,6
+22,7
@@
#include <stdlib.h>
#include <assert.h>
#include <glib.h>
#include <stdlib.h>
#include <assert.h>
#include <glib.h>
+#include <inttypes.h>
#include <errno.h>
#include <babeltrace/list.h>
#include "ctf-scanner.h"
#include <errno.h>
#include <babeltrace/list.h>
#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, "<unary_expression value=");
case UNARY_SIGNED_CONSTANT:
print_tabs(fd, depth);
fprintf(fd, "<unary_expression value=");
- fprintf(fd, "%
lld"
, node->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, "<unary_expression value=");
fprintf(fd, " />\n");
break;
case UNARY_UNSIGNED_CONSTANT:
print_tabs(fd, depth);
fprintf(fd, "<unary_expression value=");
- fprintf(fd, "%
llu"
, node->u.unary_expression.u.signed_constant);
+ fprintf(fd, "%
" PRIu64
, node->u.unary_expression.u.signed_constant);
fprintf(fd, " />\n");
break;
case UNARY_SBRAC:
fprintf(fd, " />\n");
break;
case UNARY_SBRAC:
This page took
0.02498 seconds
and
4
git commands to generate.