Commit 80cfe975 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warnings about wrong format specifiers for size_t

[r28208]
parent 1a566998
......@@ -349,7 +349,7 @@ static inline void bitset_fprint(FILE *file, const bitset_t *bs)
putc('{', file);
for(i = bitset_next_set(bs, 0); i != (size_t)-1; i = bitset_next_set(bs, i + 1)) {
fprintf(file, "%s%d", prefix, i);
fprintf(file, "%s%lu", prefix, (unsigned long) i);
prefix = ",";
}
putc('}', file);
......
......@@ -181,7 +181,7 @@ static void dbg_admissible_colors(const co_mst_env_t *env, const co_mst_irn_t *n
fprintf(stderr, "no admissible colors?!?");
else {
bitset_foreach(node->adm_colors, idx) {
fprintf(stderr, " %d", idx);
fprintf(stderr, " %lu", (unsigned long) idx);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment