aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@quintet.cs.unc.edu>2008-09-25 00:22:08 -0400
committerBjoern Brandenburg <bbb@quintet.cs.unc.edu>2008-09-25 00:22:08 -0400
commite6eecbfbbe430abeffd4ed928b3bc2a5ff6e9380 (patch)
tree319c225ea8af1dfa83d375f8dc88dc054aba2299
parent1c6aeb0448af8712ad5ca8a695351d397bc1e0ce (diff)
don't assume 64 bits
-rw-r--r--src/ftdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftdump.c b/src/ftdump.c
index 2871537..4a7b3bf 100644
--- a/src/ftdump.c
+++ b/src/ftdump.c
@@ -34,13 +34,13 @@ int main(int argc, char** argv)
34 struct timestamp* ts; 34 struct timestamp* ts;
35 35
36 printf("struct timestamp:\n" 36 printf("struct timestamp:\n"
37 "\t size = %3lu\n" 37 "\t size = %3u\n"
38 "\t offset(timestamp) = %3u\n" 38 "\t offset(timestamp) = %3u\n"
39 "\t offset(seq_no) = %3u\n" 39 "\t offset(seq_no) = %3u\n"
40 "\t offset(cpu) = %3u\n" 40 "\t offset(cpu) = %3u\n"
41 "\t offset(event) = %3u\n" 41 "\t offset(event) = %3u\n"
42 "\t offset(task_type) = %3u\n", 42 "\t offset(task_type) = %3u\n",
43 sizeof(struct timestamp), 43 (unsigned int) sizeof(struct timestamp),
44 offset(struct timestamp, timestamp), 44 offset(struct timestamp, timestamp),
45 offset(struct timestamp, seq_no), 45 offset(struct timestamp, seq_no),
46 offset(struct timestamp, cpu), 46 offset(struct timestamp, cpu),