projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
another test
[libfirm]
/
ir
/
tv
/
tv.c
diff --git
a/ir/tv/tv.c
b/ir/tv/tv.c
index
a26ed24
..
e0b51c1
100644
(file)
--- a/
ir/tv/tv.c
+++ b/
ir/tv/tv.c
@@
-1525,7
+1525,7
@@
char *get_tarval_bitpattern(tarval *tv) {
int i, j, pos = 0;
int n = get_mode_size_bits(tv->mode);
int bytes = (n + 7) / 8;
- char *res =
xmalloc((n + 1) * sizeof(char)
);
+ char *res =
XMALLOCN(char, n + 1
);
unsigned char byte;
for(i = 0; i < bytes; i++) {