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
2dd8ca17
Commit
2dd8ca17
authored
Jan 06, 2011
by
Michael Beck
Browse files
Partly revert r28208 by using ir_printf with %zu format for size_t.
[r28214]
parent
62ee2ceb
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/adt/bitset.h
View file @
2dd8ca17
/*
* Copyright (C) 1995-20
08
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-20
11
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "irprintf.h"
#include "xmalloc.h"
#include "bitfiddle.h"
...
...
@@ -349,7 +350,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%
l
u"
,
prefix
,
(
unsigned
long
)
i
);
ir_
fprintf
(
file
,
"%s%
z
u"
,
prefix
,
i
);
prefix
=
","
;
}
putc
(
'}'
,
file
);
...
...
ir/be/becopyheur4.c
View file @
2dd8ca17
/*
* Copyright (C) 1995-201
0
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-201
1
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -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
,
" %
l
u"
,
(
unsigned
long
)
idx
);
ir_
fprintf
(
stderr
,
" %
z
u"
,
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