projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BugFix: mode_b lowering might create new control flow (if ir_create_cond_set() is...
[libfirm]
/
ir
/
libcore
/
lc_appendable.c
diff --git
a/ir/libcore/lc_appendable.c
b/ir/libcore/lc_appendable.c
index
9a3f7ad
..
a2806ed
100644
(file)
--- a/
ir/libcore/lc_appendable.c
+++ b/
ir/libcore/lc_appendable.c
@@
-32,7
+32,7
@@
int lc_appendable_snwadd(lc_appendable_t *app, const char *str, size_t len,
unsigned int width, int left_just, char pad)
{
int res = 0;
-
in
t i;
+
size_
t i;
size_t to_pad = width > len ? width - len : 0;
/* If not left justified, pad left */