Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
80cfe975
Commit
80cfe975
authored
Jan 05, 2011
by
Matthias Braun
Browse files
fix warnings about wrong format specifiers for size_t
[r28208]
parent
1a566998
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/adt/bitset.h
View file @
80cfe975
...
...
@@ -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
);
...
...
ir/be/becopyheur4.c
View file @
80cfe975
...
...
@@ -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
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment