projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e968ab6
)
warning fix
author
Matthias Braun
<matze@braunis.de>
Wed, 6 Sep 2006 16:09:22 +0000
(16:09 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 6 Sep 2006 16:09:22 +0000
(16:09 +0000)
[r8191]
ir/tv/strcalc.c
patch
|
blob
|
history
diff --git
a/ir/tv/strcalc.c
b/ir/tv/strcalc.c
index
4d07dd4
..
d30e2ee
100644
(file)
--- a/
ir/tv/strcalc.c
+++ b/
ir/tv/strcalc.c
@@
-975,7
+975,7
@@
void sign_extend(char *calc_buffer, ir_mode *mode) {
for (i = ofs + 1; i < calc_buffer_size; ++i)
calc_buffer[i] = SC_F;
- calc_buffer[ofs] = or_table[
calc_buffer[ofs]][
sex_digit[bits & 3]];
+ calc_buffer[ofs] = or_table[
(int) calc_buffer[ofs]][(int)
sex_digit[bits & 3]];
}
}
}